-
1. Re: How to implement conditional flows
tsurdilovic Oct 8, 2011 11:38 AM (in response to v.g)Hi Vincenzo, the new BPMN2 Editor for Eclipse is still in it's early stages and I would recommend to use the existing Rule-Flow editor which get's installed if you are using the jBPM installer and/or the jBPM Web Designer which also gets installer for you by the jBPM installer. The Eclipse Rule-Flow editor is currently the most stable followed by the web designer, but both feature-wise and stability-wise are currently better.
Hope this helps.
-
2. Re: How to implement conditional flows
v.g Oct 8, 2011 12:34 PM (in response to tsurdilovic)Actually Tihomir I wanted to prepare for the future. I hope flows defined in BPMN2 will replace rule-flows, so I was thinking about integration projects where you edit rules java code and processes in the same IDE.
For the moment I thought that editing manually the files would have allowed to compensate for what still is not implemented.
But actually I didn't understand whethe I got the error message because the xml is wrong or because I have the wrong jars in the classpath or other reasons.
-
3. Re: How to implement conditional flows
tsurdilovic Oct 8, 2011 1:12 PM (in response to v.g)You can find a number of examples here: https://github.com/droolsjbpm/jbpm/tree/master/jbpm-bpmn2/src/test/resources.
Take a look at BPMN2-ExclusiveSplit.bpmn2 to see an example of a conditionalExpression in sequenceFlow.
Hope this helps.
-
4. Re: How to implement conditional flows
v.g Oct 9, 2011 8:51 AM (in response to tsurdilovic)Thanks Tihomir those process samples are a good starting point.
I solved the error when I found out that the tag "conditionExpression" is correct, but the condition in in the text of the node, not in an attribute named body.