jbpmbpmnbusiness-ruleskie-workbench

jbpm business rule task example


Can some one provide me an working example for jbpm business rule task ? I tried creating one via jbpm work bench and executed via jbpmn eclipse plugin. It seems buiness process and rule task are not able to sync each other . Some times rule gets invoked, sometimes not.


Solution

  • You should take a look at this blog: JBPM6 - RuleTask Example Using a Rule File

    The key is to make sure your Rule Flow Group in the Bussiness task matches the Rule Flow Group in the .drl file (from article in above link):

    1. Business Rule Task: enter image description here
    2. Business Rule: enter image description here