Was this helpful?
Script Step
The Script step allows you to access existing EZscript expressions and build new scripts using Script Editor, the same language used to build scripts in the Map window. The expression language is similar to Visual Basic, but not identical.
Scripts written in the Process window are often used to set values in variables. This variable information can then be used by Decision expressions to make logical choices between process paths.
To add a Script step:
1. Drag and drop a Script step from the Palette to the canvas.
2. Click and select the step to open the Step Properties tab.
3. Type a unique name for the step.
4. Specify the step properties.
For more information, see Adding Steps.
Script Step Properties
Name
Description
Name
Unique name for the step. You can use alphabets, numbers, and special characters such as -, _. . , and #.
Description
(Optional) Description for the step.
Enabled
Select this option to enable the step for execution. If it is not enabled, then the step on the canvas is greyed-out.
This option is useful when troubleshooting a process, especially when there are numerous steps in the process.
Error Handling
Select either of the following:
Stop Process - (Default) All the steps after the current step are skipped or the entire process is stopped (depending on how you have the error logging options set) if this step stops due to an error.
Ignore Error - The remaining steps in this process are executed even if this step stops due to an error. This is useful when you want to write a Decision step that can test for the error state of a previous step.
Script
Click Browse and select that script file that contains the expression that must be evaluated. Alternatively, type the expression in the Expression box.
Expression
In the Expression box, type the expression that must be evaluated.
Note:  You can also double-click the Script step or click Open. The EZscript Expressions window is displayed where you can type the expression.
Note:  You can specify an Expression or a Script but not both.
Last modified date: 10/22/2024