[jboss-user] [jBPM] - jBPM5 signalEvent data not propagated to a rule

Miljenko Norsic do-not-reply at jboss.com
Tue Sep 20 10:31:02 EDT 2011

Miljenko Norsic [http://community.jboss.org/people/mnorsic] created the discussion

"jBPM5 signalEvent data not propagated to a rule"

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


I have a small example that uses jBPM and drools task, as shown on picture:

 http://community.jboss.org/servlet/JiveServlet/showImage/2-627530-17020/SignalExample.png  http://community.jboss.org/servlet/JiveServlet/downloadImage/2-627530-17020/450-130/SignalExample.png 

 Basically, I'd want to trigger a signal that is going to continue with a rule task and end process. I want my event to carry data, so I've added data to a signal:
Event event = new Event();
 event.setData("some data");
 processInstance.signalEvent("Signal", event);

In a rule task I want to use this data from signal in LHS side:
$event : Event() from $p.getVariable("event")

This is not working and rule is not triggered.
At the same time, I can print this variable on RHS side, and it is obviuos that it exists.
Am I missing something in a rule, or this construct is not supported by Drools?

I have attached my Eclipse project as a reference.


Reply to this message by going to Community

Start a new discussion in jBPM at Community

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20110920/046d44df/attachment-0001.html 

More information about the jboss-user mailing list