Manage workflow activity conditions
-
- UpdatedAug 3, 2023
- 2 minutes to read
- Vancouver
- Workflow
Manage workflow activity conditions
Activities contain default conditions that determine which transitions are followed.
Before you begin
Role required: admin
About this task
For example, the Approval - User activity has two conditions, Approved and Rejected.

You can use a JavaScript condition check to create custom conditions on Core workflow activities. Custom activities do not support this feature.
Procedure
Activity result value
The result
value specified by an activity controls the condition
through which the activity transitions.
Use the result
value as part of the Condition field
in the activity. For example, if the Condition field of an
Approval - User activity contains activity.result ==
'rejected'
, the activity transitions through that condition when a rejection is
received from the approver. Result values are set in the Script field
of the activity definition.