-
-
Notifications
You must be signed in to change notification settings - Fork 1
3.6.4. Decision Activity
Ettiene Mare edited this page Mar 10, 2020
·
5 revisions
The Decision Activity will apply a set of conditions and go to the next activity according to the result.
The Decision Activity is configured in the process definition.
The Decision Activity is configured in the process definition.
{
"name" : "my-process",
"activities": [
{
"name": "checkApprovalNeeded",
"type": "decision-activity",
"trueAction": "approval",
"falseAction": "details",
"expression" : "{{banking.depositAmount}} > 40 && {{banking.depositAmount}} < 100"
}
]
}
Parameter | Description |
---|---|
name | The name of the activity. |
type | The type of the activity, it should be adecision-activity. |
trueAction | The action to go to if the result of the expression is true. |
falseAction | The action to go to if the result of the expression is false. |
expression | The javascript expression that should evaluate to true or false. Use {{banking.depositAmount}} to get the value from the model. |
-
3.1.Introduction
3.2. Core
3.3. Services
3.3.1. Workflow
3.3.2. Analytics
3.3.3. Config
3.3.4. Model
3.3.5. Validator
3.3.6. Http3.4. Validators
3.5. Pipes
3.5.1. Currency
3.6. Activities
3.6.1. Page
3.6.2. Api
3.6.3. Assign
3.6.4. Decision
3.6.5. Code
3.6.6. IPC
3.6.7. Finish
3.6.8. Redirect
3.6.9. Switch
3.6.10. Custom3.7. Web Components
3.7.1. React