GreekSwiss
GreekSwiss

Reputation: 47

Assign a process Instance in Camunda

i am using camunda REST i would like to know whats the best way to work with task / process Instance assignments. There is a REST call that assigns a single task to a user but after submitting the task the assignment is lost.

My goal is to assign the complete process Instance to a person. But i am not sure if this rly makes sense or not and if yes then how ? If this is not possible or doesnt make sense, how would you handle the fact that after submitting a task the assignment is lost ? Would you reassign every time the next task?

Thank you

Upvotes: 0

Views: 528

Answers (1)

Jan Galinski
Jan Galinski

Reputation: 12003

It could totally make sense to assign all user tasks of a process to a specific user or group. You could model this in the bpmn by setting the assignee to a variable (${assignee}) and then just set this variable once on the process instance. All tasks then are automatically assigned to the user named in the variable.

Upvotes: 1

Related Questions