JBoss Community

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

created by Ashish Sinha in jBPM - View the full document

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

Create a new document in jBPM at Community