problem with persons in uaer task

cancel
Showing results for 
Search instead for 
Did you mean: 
sergus_dev
Active Member II

problem with persons in uaer task

Hello.

I have user task:

<userTask id="assignperformertask" activiti:assignee="${initiator.properties.userName}" activiti:formKey="mywf:assignmentPerformer">
<extensionElements>
<activiti:taskListener event="create" class="ru.repo.workflow.planning.StartAssignPerformerListener"></activiti:taskListener>
<activiti:taskListener event="complete" class="ru.repo.workflow.planning.EndAssignPerformerListener"></activiti:taskListener>
</extensionElements>
</userTask>

I set two person for a two instance workflow. Here is property from workflow-model:

<association name="mywf:stepReviewers">
<source>
<mandatory>true</mandatory>
<many>false</many>
</source>
<target>
<class>cm:authority</class>
<mandatory>true</mandatory>
<many>true</many>
</target>
</association>
</associations>

but when I look process variable in my class ru.repo.workflow.planning.EndAssignPerformerListener - mywf_stepReviewers I see only one person. Why this can be?

 

1 Reply
sanjaybandhniya
Intermediate

Re: problem with persons in uaer task

Are you assigning task to multiple users?