Hi @zinabenammar ,
After developing the code, then the next logical step is for you to place the DS2 code into a SAS Process Definition. Then you can place this SAS Process Definition into your RTDM Flow. Make sure to add any input parameters to be used for any configurations in your DS2 code to make it more flexible.
You can test out your code by running test mode and executing a Test. It will run each of the nodes in your diagram. You can then check if you are receiving the expected output from the JSON REST API developed by the customer.
Hope this helps!
Regards,
JC