Configure a Script activity
Add an activity to the map.
By default, the Configuration tab is open in the properties panel of the activity.
- Change the default Name of the activity to something meaningful.
Type list, select
If a template script was entered when configuring the scripting settings for the System, the default template script appears in the rule editor under Configuration.
Modify the script or enter the new script as needed. Right-click on the rule editor to use the process variables, or
server variables in your script.
You can reuse the script by copying and pasting it in another script.
To ensure that the script is technically accurate, click
A message appears to inform if the script is valid or contains errors. If errors occur, resolve the errors and validate the script.
To set other properties for this activity, see
When getting the value of a process variable in a script, assign the variable as an input to the activity.
When setting the value of a process variable in a script, assign the variable as an output from the activity.
When using decimal variables in script activities, the values are converted to float data type, which results in some loss of precision.
- Save the process map.