I have a requirement to transfer work object to another operator. We have defined that on the assignment shape by giving the worklist name. Now the flow actions coming out of this assignment shape should be visible to the previous operator. But as case was transferred in assignment shape and then flow actions are called, flow actions are showing up on the actions button of the second operator to whom the case was transfterred. but our requirement is to display flow actions under actions button for the first operator.
As per the above discussion you which you have specified, the routing information will be specified on the assignment shape to transfer the work object to any worklist.
For Ex: let's say we have 3 assignment shapes in your flow, now tell me on which assignment you are trying to route the case either 1st or 2nd or 3rd assignment?
1) If you are routing the 1st assignment itself, then you have to create the case by using operator credentials to which you are routing.
2) If you are routing at the 2nd assignment level, the 2nd Operator can able to see the FlowAction and perform the 3rd assignment as well, since there is no routing information is specified, the current operator will be the assigned operator to perform 3rd assignment.
The reason in your case is once the assignment is routed to any "X" Operator, untill further routing information is specified in the upcoming assignments, the current operator will be the assigned Operator to perform all the remaining assignments. That is the reason in your case, 2nd operator is able to perform the next or upcoming assignments also, Since the assignment is in his worklist.
To avoid this you need to route the next assignments to other operators worklist or workbasket etc.,