Hi Tihomir, in my test example I posted before I use simple java expressions like 'return action.equals("b1");'.
However the Designer always sets Condition Expression Language to http://www.jboss.org/drools/rule, overwriting any editing I did.
Then building the package raises
[ERR 102] Line 5:13 mismatched input 'action' in rule "RuleFlow-Split-id1-3-4-DROOLS_DEFAULT"
since those expressions are not rule syntax-compliant.
Another constant error is "Parser returned a null Package", although package has been set to defaultPackage.
All these errors occurs whenever a process contains a xor split. For example, BPMN2-ExclusiveSplit, which uses http://www.mvel.org/2.0 as expression language.
Without any xor split things seem running fine.
You also opened thread http://community.jboss.org/thread/170667 which I replied to. Could we stick with that thread for questions on expression language? Might be easier for future readers as well as myself
Ok, done.
Just tried the unofficial 1.0.0.0.54 war: now defaultPackage builds successfully with xor splits in diagrams.
Tihomir,
Your advice to upgrade the designer (I actually upgraded to .055) solved my deployment issues documented here (http://community.jboss.org/thread/160213?start=30&tstart=0) and here (http://salaboy.wordpress.com/2011/03/09/jbpm5-community-training-%E2%80%93-module-5-domain-specific-processes/). Thanks! I know I'm probably doing something wrong, but I've been a bit surprised at how hard it is to deploy a process to the server. Thanks again!
Ronnie