[jboss-user] [jBPM Development] - JBPM-2928 - BPMN2 - business rule task

Maciej Swiderski do-not-reply at jboss.com
Tue Aug 31 14:04:21 EDT 2010

Maciej Swiderski [http://community.jboss.org/people/swiderski.maciej] created the discussion

"JBPM-2928 - BPMN2 - business rule task"

To view the discussion, visit: http://community.jboss.org/message/559870#559870


I create prototype of business rule task for bpmn2 support. I tried to follow spec as much as possible (and as much as I understood it).

In general, it follows the same concept as RulesActivity and uses Drools for rules evaluation. So, you need to to provide facts for the business rule task that will be used to create state full knowledge session and fires all matching rules.

This is how definition of business rule task should look like (there can be many dataInputRefs)
<businessRuleTask id="_3" name="Validation">

In addition, item definitions should be declared
<itemDefinition id="itemDefinition1">
     <jbpm:var name="fact" />

I am not sure that referencing item definitions directly from dataInputRef is correct and according to spec?!

Complete example with all code changes can be found in  https://jira.jboss.org/browse/JBPM-2928 jira



Reply to this message by going to Community

Start a new discussion in jBPM Development at Community

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20100831/089aae19/attachment-0001.html 

More information about the jboss-user mailing list