JBoss Community

Re: Business Rules using Fluent API - JBPM 5

created by Jhonatas Vicente de Jesus in jBPM - View the full discussion

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.

Reply to this message by going to Community

Start a new discussion in jBPM at Community