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&a...]