Configure a Condition activity
Use the following procedure to configure a Condition activity for a simplified configuration of a Synchronization node with branching rules. The paths added from the activity properties are added as nodes to the process. The destination nodes are automatically displayed as you configure the paths.
- Add an activity to the map. See Add an activity.
- Change the default Name of the activity to something meaningful.
- On the Type list, select .
-
Configure the properties for this activity, as required. See
Activity properties.
The After processing tab under Properties is not available for a Condition activity.
-
To configure the branching rule, add destination nodes and define their paths in either of the following ways:
Add nodes from the Satellite
-
Select the Condition node and click the Activity icon on the Satellite.
An activity is added to the condition node.
-
Similarly, add the other nodes to the Condition node, as needed.
The node names appear on the Take path column of the Path table.
To delete a node, select the node and click on the header.
-
By default, the first node under the Condition node appears as the default path. You can change the default path by selecting a different activity on the Default path list.
-
To update the path, double-click the first activity on the Path column or select the activity and click on the header.
The Edit path dialog box is displayed.
-
The Activity name is displayed as read-only.
-
Add a Description for the activity.
The node description appears on the When column of the Path table.
-
Right-click on the rule editor and define a rule using the process and server variables.
Literal strings automatically support special characters such as \ and ". At runtime, the rules are updated to automatically prefix for the literal strings with @ symbol, but only when required. You can still use a prefix for the literal string with @ symbol, such as @"abc\123" or by escaping the characters, such as "abc\\123".
-
To validate the expression, click Validate.
If the expression is not valid, a message appears stating the branching rule is invalid. Click OK in the error message, correct the expression, and validate.
-
Click Update.
-
Similarly, update the path for other nodes, as needed.
Add nodes directly when defining the rule path
-
Select the Condition node and click for Path on the Configuration tab.
The New path dialog box is displayed.
-
Enter the Activity name.
-
Enter a Description for the activity.
-
Right-click on the rule editor and define a rule using the process and server variables.
Literal strings automatically support special characters such as \ and ". At runtime, the rules are updated to automatically prefix literal strings with @ symbol, but only when required. You can still use a prefix for the literal string with @ symbol, such as @"abc\123" or by escaping the characters, such as "abc\\123".
-
To validate the expression, click Validate.
If the expression is not valid, a message appears stating the branching rule is invalid. Click OK in the error message, correct the expression, and validate.
-
Click Add.
The node name appears on the Take path column and the node description appears on the When column of the Path table.
-
Similarly, add the other nodes as needed to the Condition node by defining the path.
To delete a node, select the node and click on the header.
-
By default, the first node under the Condition node appears as default path. You can change the default path by selecting a different activity on the Default path list.
-
- Add the end nodes.
- Release the business rule decision tree.