I am new in camunda, I have two users each for two departments, I have invoked initiator for the first role, in my model I have called another process using bpmn call activity and both the models have two lanes with two roles. My objective is that if user 1 from role 1 claims a task then all subsequent task for the particular role will be auto claimed by that particular user of that role using initiator concept, now if the lane changes then both the uses of the second role is able to claim which is fine, but my requirement is that if the lane changes and if a particular user of the role 2 claims a task then all subsequent task can be claimed by that particular user, currently both the users of the second lane with role 2 is able to claim, is there any way to use multiple initiators in camunda modeller?
Lanes do not have any runtime impacts in the Camunda engine. Lanes are just visual.
if you have set the initiator variable, then you could have your assignee field in your User Tasks be a expression such as ${myInitiatorUserName}
. Then when the user task is created it will be assigned to that user.
When you need the other user tasks to be assigned to your other user, you would need to store that as a variable (or hardcode it) and then setup the Assignee field similar to the initiator expression.