[jboss-user] [jBPM] - kSession.signalEvent("GenericTimerEvent", null) doesn't trigger event even in JBMP 5.3

Ashish Sinha do-not-reply at jboss.com
Mon Jul 9 09:30:16 EDT 2012


Ashish Sinha [https://community.jboss.org/people/imtuku] created the document:

"kSession.signalEvent("GenericTimerEvent", null) doesn't trigger event even in JBMP 5.3"

To view the document, visit: https://community.jboss.org/docs/DOC-18713

--------------------------------------------------------------
Hi,
Could anyone help me to understand why "kSession.signalEvent("GenericTimerEvent", null)" doens't trigger the mapped event on running process instances?

My process file has "GenericTimerEvent" eventType and jbpm process are being run within given JPA transaction.

Interesting fact: I added an event type with in process file to restart process (On Server crash) if process was awaiting for Timer event. 

The signal works well if - 1. No piece of extra code is written
                                    2. Process has an eventType defined.
                                     3. While starting server, kSession.signalEvent(GivenEventType, null) is called mannuly. I used java scheduler to invoke @PostConstuctor.

But the same doesn't trigger if application is running and I do send signal using kSession. 

Any idea?
--------------------------------------------------------------

Comment by going to Community
[https://community.jboss.org/docs/DOC-18713]

Create a new document in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=102&containerType=14&container=2034]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20120709/6bf2e340/attachment-0001.html 


More information about the jboss-user mailing list