I am trying to build logic for work item exit based on label matching. Consider this example.
I have Start point, Queue 1, Activity 1, Activity 2 and End Point.
Work item A1,A2,A3,A4,A5 labeled attached as 1,2,3,4,5 are entering in Queue 1 and Activity 1, till here it is fine.
Now I want after Activity 1, using label sequence as 3,4,1,2,5 work items should enter in Activity 2 e.g. first A3 than A4 than A1, A2 and A5 respectively. So after Activity A2, work items should exit in A3, A4, A1, A2,A5 sequence.