> #### 5.5.1 Define Conditional Node attributes

> Note: If you want to define complex conditions using Expressions, use the Complex Conditional Node.

> 1. Display the process definition.

> 2. Right-click the Conditional Node () and select Decisions.

> 3. Select the data item to evaluate.

> The data item options are those specified in the User Defined Attributes pane of the Process Definition Properties dialog.

> 4. For each arrow, which originates from the Conditional Node, specify the criterion to compare with the value of the user-defined process attribute.

> 5. Select the relationship, which must exist between the two values for the arrow to be chosen.

> Note: In defining Boolean data items on the Decision tab, Interstage BPM accepts the string "true" as true, and any other string as false.

> 6. Select the radio button, which identifies the default arrow.

> This arrow defines the path that is taken if none of the expressions are true.

> 7. You can also rearrange the order in which the expressions in the list will be evaluated by highlighting the expression and clicking Up or Down.

> 8. If you wish to execute a script when the Conditional Node is activated or completed, select the Script tab and type a Prolog Script to execute when the node becomes active. Alternatively, click Browse and select script files from the DMS.

> For details on writing JavaScript, see the PDF file ecma-262.pdf, which is included with the software.
> Interstage BPM provides an additional set of JavaScript commands for exchanging information with the Server (See Appendix A).

> If you wish to execute a Java Action when the Conditional Node is activated or completed, select the Action Set tab and add a Java Action to execute when the node becomes active.

> For details on adding Java Actions, see the Assigning Java Actions section.

> 9. Click OK.

> Note: By default, Interstage BPM displays a "0" value for each condition until you set a new value for the condition. If you do not enter values for the Conditional Node to evaluate, Interstage BPM will branch to the default arrow.

Business Process Manager Help-Fujitsu Computer Systems Corporation Interstage Website Voice: (888) 248-9273 Interstage BPM Information