Configure a Script activity
- Add a Script activity to the map. See Add an activity.
-
On the
Extended Properties page of the Script
activity, click the
Configuration tab.
If a template script was entered when configuring the scripting settings for the System, a default template script appears in the box. Change the script as needed.You can reuse the script by copying and pasting it in another script.
-
To ensure that the script is technically accurate, click
Validate.
A message appears and informs you if the script is valid or contains errors.
Before continuing, resolve errors and validate the script.
-
To set other properties for this activity, see
Configure the properties of an
activity.
Note the following:
-
When getting the value of a process variable in a script, assign the variable as an input to the activity.
-
When setting a 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.
-
- Click Save.