07-02-2021 10:18 AM
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?
07-20-2021 09:48 AM
Are you assigning task to multiple users?
Explore our Alfresco products with the links below. Use labels to filter content by product module.