K2 BLACKPEARL PRODUCT DOCUMENTATION: USER GUIDE
Preceding Rule - Creating Multiple Expressions

Preceding Rule - Creating Multiple Expressions

Multiple expressions implies that the Preceding Rule would evaluate more than one expression before evaluating to true. Creating multiple rules also allows for more sophisticated and complex logic.

To create multiple Preceding Rule expressions, at least one expression must be in place. To add the new rule, click Add. When one rule already exists, the next rule includes a new operator field called the Boolean Operator. When setting the Boolean Operator, the result of the 1st rule is operated based on the outcome of the 2nd, or 3rd or n, etc rule.

The Boolean Operator

The Boolean Operator evaluates the outcome of the expressions for the rule. A simplified formula below displays the outcome of a Boolean operator when two rules are listed in the Preceding Rule dialog. The Boolean Truth tables are provided in the see also links under Rule Operators.

Multiple Expressions
When configuring these operators, care must be taken to ensure that when the process is deployed it is possible for the Preceding Rule to resolve to true. It is possible for the Preceding Rule logic to be configured in such a way that it evaluates correctly, but never resolves to true; i.e. although never in error, the Preceding Rule never resolves to true and the Rule never executes.

To illustrate the operators evaluation process the image below shows two expressions and two possible scenarios. In the first the Preceding Rule evaluates to true and in the second false according to the example used below.

2 Expressions with AND operator

For the rule to execute, the expressions must resolve to TRUE. Where the expressions do not resolve to true, the rule will not execute.

Parameter 1

Operator

Parameter 2

Result

SharePoint Item Status = New

AND

ProcessFolio = Potential Candidates

True

SharePoint Item Status  <> New

AND

ProcessFolio = Potential Candidates

False

See Also

 

 


K2 blackpearl Help 4.6.11 (4.12060.1731.0)