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 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.
Unique name for the step. You can use alphabets, numbers, and special characters such as -, _. . , and #.
Description for the step (optional).
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 the current step are skipped or the entire process is stopped (depending on how you have set the error logging options) if this step stops due to an error.
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.
Type the expression that must be evaluated or click Open to open the EZscript Expressions window and specify the expression.
Click Browse and specify that script file to be executed.
Note:  You can specify an Expression or a Script but not both.