Creating an If Activity

The If Activity is used to provide conditional logic within a Split-Join. It is composed of a number of nodes that determine the behavior for the overall If activity. Each node must be individually configured. When you create an If activity, an If and an Else are automatically generated within it. You can add an unlimited number of Else If nodes with the Add Else If button.

Configuring an If Activity can include the following tasks:

Related Topics

Configuring the If

The If provides a unit of conditional logic within the overall If activity. It is automatically generated when you create an If activity. Configuring an If can include the following tasks:

Related Topics

Writing the logic of the condition

The If Activity executes conditional logic defined by an XPath 1.0 expression. Enter this condition in the Condition text field of the Condition tab, or click the browse button to launch and write the expression in the Xpath 1.0 Expression Builder.

Adding resulting nodes

If the condition in the If logic is met, a subsequent node or string of nodes will result. Add and configure any resulting nodes by dragging them in sequential order to a drop point beneath the If icon.

Adding General Information

General information is useful for making a node more legible. It includes the ability to add a unique identifier, or Label, to the node and to supplement it with notes, or Documentation. General information is optional.

  1. To add a Label to a node, open the Properties view and enter a unique, identifying string in the Label field. The Label that you enter appears underneath the node in the Canvas area. Alternatively, you can simply double-click the string under the icon and edit.
  2. To add Documentation to a node, open the Properties view and enter any notes that you think are important in the Documentation field.

Adding and Configuring Else If

The Else If is used to provide additional logic within the context of an overall If. You can add an Else If every time you press the "Add Else If" button.

Configuring an Else If can include the following tasks:

Related Topics

Writing the Logic of the Condition

The Else If uses conditional logic defined by an XPath 1.0 expression. Enter this condition in the Condition text field of the Condition tab or click the browse button to launch and write the expression in the Xpath 1.0 Expression Builder.

Adding Resulting Nodes

If the condition in the Else If logic is met, a subsequent node or string of nodes will result. Add and configure any resulting nodes by dragging them in sequential order to a drop point beneath the Else If icon.

Adding General Information

General information is useful for making a node more legible. It includes the ability to add a unique identifier, or Label, to the node and to supplement it with notes, or Documentation. General information is optional.

  1. To add a Label to a node, open the Properties view and enter a unique, identifying string in the Label field. The Label that you enter appears underneath the node icon in the Canvas area. Alternatively, you can simply double-click the string under the icon and edit.
  2. To add Documentation to a node, open the Properties view and enter any notes that you think are important in the Documentation field.

Configuring the Else

The Else provides a final case of logic within the context of an overall If. It is automatically generated when an If is created. Configuring an Else can include the following tasks:

Related Topics

Adding Resulting Nodes

As the final case in the If's logic, the Else requires no conditions to be met in order to execute. It will automatically execute resulting activities when invoked. Add and configure any resulting nodes by dragging them in sequential order to a drop point beneath the Else icon.

Adding General Information

General information is useful for making a node more legible. It includes the ability to add a unique identifier, or Label, to the node and to supplement it with notes, or Documentation. General information is optional.

  1. To add a Label to a node, open the Properties view and enter a unique, identifying string in the Label field. The Label that you enter appears underneath the node in the Canvas area. Alternatively, you can simply double-click the string under the icon and edit.
  2. To add Documentation to a node, open the Properties view and enter any notes that you think are important in the Documentation field.