cancel
Showing results for 
Search instead for 
Did you mean: 

Output Transitions

akakunin
Champ in-the-making
Champ in-the-making
Hi Friends.
It is clear, what even Activiti based on jBPM4 code and used same concepts and very similar API, it is based on BPMN 2.0 (comparing to jPDL) and will have difference.
But, I still hope it as comfortable to use (or better) as previous jBPM4.
So far, I did not found one thing widelly used in jBPM4 - Output Transitions? Are they supported somehow in Activiti or it is not possible due to BPMN 2.0 limitations?
2 REPLIES 2

jbarrez
Star Contributor
Star Contributor
It's indeed not supported because of BPMN 2.0 semantics: in BPMN multiple outgoing sequence flow act as parallel paths if multiple are selected.
In BPMN, only data can do routing.

The BPMN approach is to use a userTask + exclusive gateway that actually does the routing.
One approach that however, might be useful for you is using form properties as described here: http://activiti.org/userguide/index.html#formProperties, to sync your user task properties with the variables used in the exclusive gateway down the road.

akakunin
Champ in-the-making
Champ in-the-making
Thanks, it was clear that it is restriction from BPMN 2.0 semantic - I just hoped Activiti has some "workaround".
In Liferay there are not full form-management support exists, only simple predefined form for each user task. But I needed some way to pass info about possible "outputs" from next excluse gate into userTask, and looks like form properties is what exactly may be used for it.

Thanks for your answer - it should help me!