K2 BLACKPEARL PRODUCT DOCUMENTATION: USER GUIDE
Using the Add/Edit Rule Dialog

Preceding Rule - Using the Add / Edit Rule Dialog

The Add/Edit Rule dialog allows the user to build a rule expression that is evaluated before the activity instance is started. Multiple rule expressions can be added. The Rule is evaluated using the following formula: [First Variable] [Comparison Operator] [Second Variable] = Result 

Fig. 1. Rules Dialog - Add / Edit Rule Dialog

Feature Description How to use it
First Variable

The first variable used in the comparison to determine if the outcome will resolve to true. When using GetList methods and repeating XML nodes, the drop down next to the First Variable is enabled which can be used to perform the following actions:

Sum, Minimum, Maximum, Average, Count.   

Populate the field manually or source it from dynamic fields from the object browser such as Data, XML, SmartObject Properties, SmartObject Methods, SharePoint columns etc

Logical Function

This function is only available if Non-Shared activity level Data Fields or XML Fields have been used in an activity before a Line Rule or in a Succeeding Rule. The following options are available:   

All

All Slots

At Most

At Least

None 

Not available for this type of Rule

Logical Data This option is only available when using the Logical Function of At Least or At Most

Not available for this type of Rule

Comparison Operator The operator used to compare the first and second variables in the expression. See Rule Operators

Click on the Comparison Operator drop-down and select the operator

Second Variable The second variable is used in the comparison to determine if the outcome will resolve to true.

Populate the field manually or source it from dynamic fields from the object browser such as Data, XML, SmartObject Properties, SmartObject Methods, SharePoint columns etc

Boolean Operator The operator used to compare the different rules. See Rule Operators

Click on the Boolean Operator drop-down and select the operator

All - All slots on the activity instance, whether completed or not.

All Slots - All completed slots

 

 


K2 blackpearl Help 4.6.10 (4.12060.1690.0)