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?
Are you assigning task to multiple users?
Ask for and offer help to other Alfresco Process Services and Activiti Users and members of the Alfresco team.
By using this site, you are agreeing to allow us to collect and use cookies as outlined in Alfresco’s Cookie Statement and Terms of Use (and you have a legitimate interest in Alfresco and our products, authorizing us to contact you in such methods). If you are not ok with these terms, please do not use this website.