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. Double-click the step on the canvas 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.
Note:  The Break after first error Logging Option on the Configuration tab overrides the Ignore Error option in the step level, hence when you set the Ignore Error option at step level, you should uncheck (disable) the Break after first error Logging option for the Ignore Error to be effective.
Expression
Type the expression that must be evaluated or click Open to open the EZscript Expressions window and specify the expression.
Script
Click Browse and specify that script file to be executed.
Note:  You can specify an Expression or a Script but not both.
Last modified date: 02/09/2024