cancel
Showing results for 
Search instead for 
Did you mean: 

About assignees to tasks of workflow

haiyun
Champ in-the-making
Champ in-the-making
I have a workflow comprising a number of tasks (7 to 10), and each task is expected to be taken by a particular user/assignee. What I want is to determine who do what at the very beginning of the workflow. In other words, immediately after I choose a workflow for a document, I want to assign every task a different assignee. Is it possible to achieve this? Please help. Many thanks.
4 REPLIES 4

haiyun
Champ in-the-making
Champ in-the-making
Please help!

martin_grofcik
Confirmed Champ
Confirmed Champ
Hi,

I do not understand the question.

Regards
Martin

jbarrez
Star Contributor
Star Contributor
I think I understand the question. You would have to use variables and expressions for your assignee, like activiti:assignee="${someVariable}" and then populate those variables at the start of the workflow.

Alternatively, you could use a custom bean in the expression that resolves to something: activiti:assignee="${myCustomBean.determineAssignee}"

haiyun
Champ in-the-making
Champ in-the-making
Thanks. It works.