I am using Alfresco community edition-5.1.x. I'm creating a custom workflow by using kickstart. But my start task does not have the assign part.
How can i do assignation to group or individual ?
I am using Alfresco community edition-5.1.x. I'm creating a custom workflow by using kickstart. But my start task does not have the assign part.
How can i do assignation to group or individual ?
I will answer specifically to the individual part.
In your workflow-model.xml, you need to add in the part you want the assignee aspect. For example :
<type name="namespace:myId">
<parent>bpm:startTask</parent>
.........
<mandatory-aspects>
<aspect>bpm:assignee</aspect>
</mandatory-aspects>
</type>
Then, reference it in your share-config-custom.xml form part :
<form>
<field-visibility>
.....
<show id="bpm:assignee" />
.....
</field-visibility>
.........
Finally, in your workflow.bpmn you could assign the next task to the chosen assignee :
He is an example with the Eclipse Activiti tool :
Or just the same thing in the xml view :
<userTask id="alfrescoUsertask2" name="Validation Step" activiti:assignee="${bpm_assignee.properties.userName}" activiti:formKey="namespace:myId"></userTask>
For the "assign to a GROUP" part, it should be something similar with the bpm:groupAssignee
model.