cancel
Showing results for 
Search instead for 
Did you mean: 

Parallel Gateway execution

coyoteugly
Champ in-the-making
Champ in-the-making
Hi to all, I'm trying to build an activiti workflow with a simply Parallel Gateway, something like about this: http://forums.activiti.org/sites/activiti_forums/files/Paralel%20Gateway%20Sample.png

Anyway I found really really really hard to find any documentation about parallel gateway implementation. I have big difficult to correctly write my custom content-model for this element and to the related part of code needed to web-form ( the share-workflow-form-config.xml file ). On the web I'm not able to find one example of workflow using parallel gateway, so I do not know how to proceed.
Reading the documentation, studying example, tutorial and the default simple workflow included in Alfresco Communuty edition I'm pretty able to work with the basics element for Alfresco workflow such as user and script task, exclusive gateways, ecc… Anyway I do not find any example of parallel gateway to study and analize in order to replicate on my process!

The only quote on alfresco documetation is here: http://docs.alfresco.com/4.1/index.jsp?topic=%2Fcom.alfresco.enterprise.doc%2Fconcepts%2Fwf-process-...
and it does not contain any code referece.

Does anyone can provide me a simply but complete example of process using parallel gateway included process definition, content model and web-form definitions?
Or alternatively, how can I find the needed specific to proceed write my content model and web-form definitions?

Thanks a lot.
2 REPLIES 2

mitpatoliya
Star Collaborator
Star Collaborator

I think you are looking for parallel review workflow.
For both  JBPM and Activiti there is already out of box workflows which have similar implementation.
<ALF_HOME>\WEB-INF\classes\alfresco\workflow\parallel-review.bpmn20.xml
<ALF_HOME>\WEB-INF\classes\alfresco\workflow\parallelreview_processdefinition.xml

coyoteugly
Champ in-the-making
Champ in-the-making
Thanks for the reply mitpatoliya, anyway if I'm not wrong, this example contains only an exclusive gateway useful for a paraller review and approve process, but this do not provide an example of a pure PARALLEL GATEWAY. I do not need a review and approve process, I need to split my flow into 2 different rute with different task and operation and to reunite the flow after some steps.
Plese, note that this type of parallel process I need [ http://docs.alfresco.com/4.1/topic/com.alfresco.enterprise.doc/images/wf-parallel-diag.jpg ] is different by this other type of parallel process using exclusive gateway [ http://docs.alfresco.com/4.0/topic/com.alfresco.enterprise.doc/images/wf-exclusive-diag.jpg ]

Hope that I explained better my problem.
Thaks a lot, regards!