Testing Workflow Conditions
If you use conditions in your workflow, use the workflow execution log to make sure that the conditions work as designed. In general, make sure that you create conditions that can be met. Otherwise, the condition can never evaluate to true and the workflow does not run as expected.
Run the following condition tests on a workflow:
-
Test a scenario when the condition evaluates to true to make sure that the workflow executes the actions and transitions as expected.
-
Test a scenario when the condition evaluates to false to make sure that the workflow does not process the actions and transitions.
-
If you have a condition on the workflow initiation, verify that the workflow does or does not initiate based on the condition.
Tip
If actions or transitions with conditions do not process, temporarily remove the condition and then run the workflow again. If the workflow runs correctly, the condition has an error.