-
1. Re: Business Rules using Fluent API - JBPM 5
tsurdilovic Sep 28, 2011 8:38 AM (in response to jovijesc)Hi, the fluent API should still work, but has not been updated to the latest features - so not sure I would recommend using it at this point. There is a small section in the docs on it: http://docs.jboss.org/jbpm/v5.1/userguide/ch05.html#d0e779.
Hope this helps.
-
2. Re: Business Rules using Fluent API - JBPM 5
jovijesc Sep 29, 2011 8:50 AM (in response to tsurdilovic)Hi Thanks for the reply. I had seen this link. I'm having trouble setting my rules ofnavigation through the Fluent API.
For example: I think this passage is what I define it, but do not know how the syntax for this:
ConstraintImpl restriction = new ();
constraint.setName ("constraint2");
constraint.setPriority (2);
constraint.setDialect ("dialect2");
constraint.setType ("type2");
/ / HERE WHERE SHOULD DEFINE RULE
constraint.setConstraint ("restriction text2");
split.setConstraint (restricted connection);
Thank you.