Adding JavaScript conditions to procedures
You can add JavaScript conditions to procedures to make them complex and not linear.
About this task
To add a JavaScript condition in the Procedure Designer:
Procedure
- Open the procedure to that you want to add a condition on the Design tab.
- From the Palette, select the Condition option and drag it to the empty block of the procedure chart.
- In the JavaScript Condition window, type the condition that you want to include in the procedure.
- Click OK to add the condition.
Results
- Under the Yes arrow, specify the command or condition that you want to apply if the first condition is met.
- Under the No arrow, specify the command or condition that you want to apply if the first condition is not met.