The Script Task allows you to add or modify the data to use during the execution of a flow. In the Script Task, you can use JavaScript to access the required data. It also allows you to add or modify variables.Â
Configure Script Task
To configure a Script Task in the process flow, follow the below steps:
- On the left pane, you can find the Tasks section. Drag and drop the Script Task stencil from this section to the builder.
- Click the Script Task stencil to open the Script Task window.
- On the Script Task window, enter the following details:
- Name – Enter a name for the script task.
- Define Script – In the JavaScript editor, enter the script to access the required data.
- Close the Script Task window.