User Guide : Designing and Executing Processes : Process Steps and Associated Components : Script Step
 
Share this page                  
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 Toolbox 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:
Abort Process - All the steps after this one are skipped or the entire process is aborted (depending on how you have the error logging options set) if this step aborts due to an error.
Ignore Error - The rest of the steps in this process are executed even if this step aborts 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.