Class BPMNRuleEngine

java.lang.Object
org.imixs.workflow.BPMNRuleEngine

public class BPMNRuleEngine extends Object
The BPMN Rule Engine can be used to evaluate a business Rule based on a BPMN model with conditional events.

The rules are evaluated as a chain of conditional events

Author:
rsoika
  • Constructor Details

    • BPMNRuleEngine

      public BPMNRuleEngine(Model model)
  • Method Details

    • eval

      public int eval(ItemCollection workitem) throws ModelException
      Evaluates a BPMN Business Rule based on the data provided by a workitem.
      Parameters:
      workitem - workitem to be evaluated
      Returns:
      evaluated task id
      Throws:
      ModelException - if model is invalid