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.
Script Step Properties
After adding a /download/attachments/25952278/SQL_step.png?version=1&modificationDate=1491995553643&api=v2 Script step from the Palette to the canvas, you can double-click the step on the canvas and specify the following step properties in the Properties tab displayed at the bottom.
Name
Description
Name
Unique name for the step. You can use alphabets, numbers, and special characters such as -, _. . , and #.
Description
Description for the step (optional).
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:
Ignore Error - The remaining steps in the current process are executed even if this step stops due to an error. This is selected by default.
Stop Process - 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.
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/01/2024