Scripting

Javascript

2min
Document image


The Javascript action is one of the actions at your disposal to work with Javascript language.

Javascript action enables you to execute code; the code can be of anytype ES5,ES6, etc. There is no access to specific libraries, however, from a code and algorithms perspective, you can execute almost everything.

Use setOutput() method to make sure output will be generated to be stored in a process variable which can be further used in the configuration of other actions in the process.

How to configure the Javascript action?

1. Create a process and give it a name.

2. Drag the Javascript action to the canvas and link it to the other actions.

Document image


3. Create the variables needed for the configuration of the action, and then add them to the configuration panel:

Document image


4. Add your code to the editor.

5. Add the output variable that will store the interpreted code.

6. Save, Validate, Run.

7. Click Check Instance to view the results. You will see that the outcome of the interpreted codes is saved in the result variable.

Document image






Updated 16 Feb 2024
Doc contributor
Doc contributor
Did this page help you?