Scripting
Run your own code, or a curl command, inside a process when no ready-made action fits.
The actions in the Scripting folder of the Process Designer toolbox run code that you write. Pass process variables into the code, then map the outputs back into the process.
| Action | What it does |
|---|---|
| Node | Runs JavaScript on Node.js, with libraries loaded by require. Outputs: Single Result, List Result, Stdout, Error. |
| Python | Runs Python code, with libraries such as pandas and NumPy. Outputs: Single Result, List Result, Stdout, Error. |
| Ruby | Runs Ruby code, with gems such as Nokogiri and Liquid. Outputs: Single Result, List Result, Stdout, Error. |
| Javascript | Runs JavaScript and returns the value passed to setOutput in a single Output. |
| CURL | Runs a curl command and returns the HTTP status, the response body and any curl error. |
In Node, Python and Ruby, an error in your code does not stop the process: the step finishes and the Error output holds the message. Check Error with a Decisional before you use the result.

