Configuring a Data association for conditional flow
In this recipe, you will create and configure a Data association for conditional flows, which defines the flow the BPMN process token will take.
Getting ready
To implement the Conditional switch:
If:
Business Analyst Review Required
= Yes, then proceed to Business Analyst Review User Task
Else: Proceed to Approvers Review
You have created a process Data object, BusinessAnalystReviewRequired
, to store values, as the evaluation is determined by the expression defined for the outgoing conditional sequence flow.
If this evaluates to true
, then the process flow proceeds down the Yes
path (Towards the Business Analyst Review
User task). If it evaluates to false
, then the process flow proceeds down the path of the default outgoing sequence flow.
The condition in the sequence flow will be based on values of the process Data object BusinessAnalystReviewRequired
If:
BusinessAnalystReviewRequired
= True, then choose the sequence flow 'Yes'
Else:...