Hi I'm new to Activiti. If I want to use activiti to handle a Multi-choice process. I tried exclusiveGateway and parallelGateway, then i found the exclusiveGateway will take only one outgoing transition, and the parallelGateway will take all the outgoing transitions, conditions are ignored . If some of transitions i want to take by condition, then how would the processdefinition like ? http://www.workflowpatterns.com/patterns/control/advanced_branching/wcp6.php this page says that jbpm 3.1.4 can not support Multi-Choice pattern directly. How to take task1 and task2, not task3? [attachment=0]multi-choice.PNG[/attachment]
That would need another type of gateway, which we currently have not implemented.
You could mimic what you want by having the sequence flow leaving the start event in your example. All the sequence flow that evaluate to true are taken. Note that this is not 'good BPMN 2.0 practice', as it is not the normal way to go (ie letting the control flow be done by gateways)