Introduction
English |
---|
The Simple Rules Decision plugin is a no-code configurable approach to |
...
defining routing and actions within a process |
Warning |
---|
Please take note that the Decision Tool Plugin will take precedence over the existing conventional conditional setup in the Process Builder |
Panel |
---|
borderColor | purple |
---|
bgColor | white |
---|
borderWidth | 1 |
---|
titleBGColor | #ddccff |
---|
borderStyle | solid |
---|
title | New Feature |
---|
|
This is a new feature in Joget DX |
Simple Rules Decision Properties
Configure Simple Rules Decision
Image Modified
Click on a Route and click Mapping to access Configure Mapping.
Image Added
Figure 1
Name | Description |
---|
Rules | The Rules properties are defined here (see Figure 1): Sub-element | Description |
---|
Add Rule | Add a Rule. see Add Rule properties below | Add Action | Adds an Action within the ELSE THEN statement. see Add Action properties below |
|
Add Rule
Name | Description |
---|
| Toggle between EQUAL and NOT EQUAL |
Split Type | |
Add Condition | Adds a Condition within the IF statement. see Add Condition properties below |
Add Group | Adds a Group within the IF statement. Properties will be similar in Add Rule properties |
| Delete Rule |
| Sort - Click and drag to reorder Rule above or below another Rule |
Add Action | Adds an Action within the THEN statement. |
...
Name | Description |
---|
| Toggle between EQUAL and NOT EQUAL |
Variable | User input the variable name. |
Operation | Info |
---|
| Checks if the workflow variable is equal to the specified value. Simple Rules example configuration as shown: Image Added The following workflow design is used: Image Added Based on the workflow above, if the workflow variable "country" value is "USA", based on conditions configured in the decision plugin, it will direct to Activity 1. For any other value, it will follow the Else Then condition and route to the "otherwise" transition to Activity 2. |
Info |
---|
| Checks if the workflow variable is greater than the specified value. Simple Rules example configuration as shown: Image Added The following workflow design is used: Image Added Based on the workflow above, if the workflow variable "price" value is greater than "2", based on conditions configured in the decision plugin, it will direct to Activity 1. For any other value, it will follow the Else Then condition and route to the "otherwise" transition to Activity 2. |
Greather Info |
---|
title | Greater Than Or Equal To |
---|
| Checks if the workflow variable is greater than OR equal to the specified value. Simple Rules example configuration as shown: Image Added The following workflow design is used: Image Added Based on the workflow above, if the workflow variable "price" value is greater than OR equal to "2", based on conditions configured in the decision plugin, it will direct to Activity 1. For any other value, it will follow the Else Then condition and route to the "otherwise" transition to Activity 2. |
Info |
---|
| Checks if the workflow variable is less than the specified value. Simple Rules example configuration as shown: Image Added The following workflow design is used: Image Added Based on the workflow above, if the workflow variable "price" value is less than "2", based on conditions configured in the decision plugin, it will direct to Activity 1. For any other value, it will follow the Else Then condition and route to the "otherwise" transition to Activity 2. |
Info |
---|
title | Less Than Or Equal To |
---|
| Checks if the workflow variable is less than OR equal to the specified value. Simple Rules example configuration as shown: Image Added
The following workflow design is used: Image Added Based on the workflow above, if the workflow variable "price" value is less than OR equal to "2", based on conditions configured in the decision plugin, it will direct to Activity 1. For any other value, it will follow the Else Then condition and route to the "otherwise" transition to Activity 2. |
Info |
---|
| Checks if the workflow variable matches with value "1" or "true" Simple Rules example configuration as shown: Image Added The following workflow design is used: Image Added Based on the workflow above, if the workflow variable "isUrgent" value is true, based on conditions configured in the decision plugin, it will direct to Activity 1. For any other value, it will follow the Else Then condition and route to the "otherwise" transition to Activity 2. |
Info |
---|
| Checks if the workflow variable matches with value "0" or "false" Simple Rules example configuration as shown: Image Added The following workflow design is used: Image Added Based on the workflow above, if the workflow variable "isUrgent" value is false, based on conditions configured in the decision plugin, it will direct to Activity 1. For any other value, it will follow the Else Then condition and route to the "otherwise" transition to Activity 2. |
Info |
---|
| Checks if the value of a field contains a specified substring in a value. Simple Rules example configuration as shown: Image Added The following workflow design is used: Image Added Based on the workflow above, if the workflow variable "country" value contains the substring "US" (e.g., "USA", "USSR"), based on conditions configured in the decision plugin, it will direct to Activity 1. For any other value, it will follow the Else Then condition and route to the "otherwise" transition to Activity 2. |
Info |
---|
| Checks if the country field matches any one of the values in a specified list of values. Simple Rules example configuration as shown: Image Added The following workflow design is used: Image Added Warning |
---|
| A ";" must be added in between items of specified value for it to work. (Item1;Item2;Item3) |
Based on the workflow above, if the workflow variable "country" value matches any one of the values in the specified list ("USA", "Canada", or "Mexico"), based on conditions configured in the decision plugin, it will direct to Activity 1. For any other value, it will follow the Else Then condition and route to the "otherwise" transition to Activity 2. |
Info |
---|
| Evaluates whether the value of a field matches a regular expressions (regex) specific pattern. Simple Rules example configuration as shown: Image Added The following workflow design is used: Image Added Based on the workflow above, if the workflow variable "email" matches the pattern of a valid .com email address ("^[\\w.%+-]+@[\\w.-]+\\.com$", e.g. abc@def.com), based on conditions configured in the decision plugin, it will direct to Activity 1. For any other value, it will follow the Else Then condition and route to the "otherwise" transition to Activity 2. |
|
Value | User to input the value of the Variable |
| Delete Condition |
...
Name | Description |
---|
Type | - Transition
- Workflow Variable
|
Transition | Will display a selection of all available transitions based on the selected Route inserted as part of the process flow Note |
---|
| This field will be displayed if Transition is selected in the Type field. |
|
Workflow Variable | Will display a selection of all available workflow variables based on the current Process Note |
---|
| This field will be displayed if Workflow Variable is selected in the Type field. |
|
Value | User to input the value of the selected Workflow Variable Note |
---|
| This field will be displayed if Workflow Variable is selected in the Type field. |
|
| Delete Action |
Sample App
View file |
---|
name | APP_kb_dx8_simpleRulesSampleApp.jwa |
---|
height | 250 |
---|
|