Hi,I try to use a sub-process in my process. Per example :
<process-state name="ProcessState1">
<sub-process name="sub-process"/>
<transition name="toEnd" to="end">
</transition>
</process-state>
<?xml version="1.0" encoding="iso-8859-1"?>
<process-definition xmlns="urn:jbpm.org:jpdl-3.1" name="sub-process">
<swimlane name="EngineeringGroup">
<assignment class="org.alfresco.repo.workflow.jbpm.AlfrescoAssignment">
<pooledactors>GROUP_engineering</pooledactors>
</assignment>
</swimlane>
<swimlane name="initiator">
</swimlane>
<start-state name="StartSub">
<task name="wfbx:StartSub" swimlane="initiator">
</task>
<transition name="Transition1" to="CoucouTask">
</transition>
</start-state>
<end-state name="EndSub"/>
<task-node name="CoucouTask">
<task name="wfbx:CoucouTask" swimlane="EngineeringGroup">
</task>
<transition name="Transition1" to="EndSubPotts">
</transition>
</task-node>
</process-definition>
But, I have an error when I start the sub-process :17:15:42,033 ERROR [org.alfresco.web.ui.common.Utils] A system error happened during the operation: Mandatory task properties have not been provided: {http://www.alfresco.org/model/bpm/1.0}package
org.alfresco.service.cmr.workflow.WorkflowException: Mandatory task properties have not been provided: {http://www.alfresco.org/model/bpm/1.0}package
My sub-process is not linked to a document. How to assign to the sub-process the document used in the parent process ?Thank you