Add a decision
Configure a decision to specify decision rules.
- On the process map, select the node to add the decision.
- On the Satellite, select the Decision icon .
- Drag the icon to the location.
- Enter a Name for the decision.
- The string values within the rule condition are case-sensitive by default. Clear Case sensitive to disallow the string values to be case-sensitive.
-
To add condition text, such as
Credit Approved?=true, right-click the rule editor box and add metadata (process variable, server
variable, document set) for the condition; use the keyboard to add operands or keywords.
- TotalAgility
supports the following operands/keywords for decision:
+ - * / < > = >= <= <> AND OR != && || true false TRUE FALSE
-
You can use the document set properties (Valid, Comment, Count) in a rule editor only when the document set is turned on. If you try to turn off the document set when the document set properties are used in your process, an error message appears that the document set is in use within the process.
- When using a date variable as string in a decision node, the date must be in the ISO format {YYYY-MM-DD} enclosed in double quotation marks, such as "2016-04-25" or a valid date based on the locale of the server.
- You can reuse the condition text by copying and pasting it in another decision node.
- You can use "null" check in condition text. For example, [nullstr] = null and [nulldate] = null. You cannot use "Null" or "NULL".
- TotalAgility
supports the following operands/keywords for decision:
- Click Validate to check if the condition is valid. A message indicates whether the syntax is valid.
- Close the message.
-
On the
True path list, select the activity to specify the path of execution if the
rule condition evaluates to True.
If the rule condition evaluates to False, the flow of the process map passes to the node not selected in the True path list.
- Configure other properties of the decision. See Properties of a decision.
- Save the map.