Help Centre › Building Processes
Executes javascript and return the results (if any).
Add it to a process
In the process designer, open the Add step tab. Find Run JavaScript under Browser › Advanced, or type its name in the search box, and drag it onto the canvas.
Fields
| Field | Required | What it does |
|---|---|---|
| Javascript to be executed | Yes | JavaScript code to execute in the browser (use 'return' to capture a result) |
| Variable | Yes | Name of the variable where the result will be stored Default: data. |
See all Browser steps.
Errors
| Error | Description |
|---|---|
| Script error | The JavaScript code contains an error. |
| Timeout | The script did not complete within the timeout period. |
Tips
- Return a value using 'return' in your script to capture results.
- Use this for advanced operations not available through standard actions.