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?
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.
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.