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

  1. Open the procedure to that you want to add a condition on the Design tab.
  2. From the Palette, select the Condition option and drag it to the empty block of the procedure chart.
  3. In the JavaScript Condition window, type the condition that you want to include in the procedure.
  4. 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.