Juri Zeisler [
https://community.jboss.org/people/juriz] created the discussion
"jBPM 5.4: How to end process after timer event"
To view the discussion, visit:
https://community.jboss.org/message/822903#822903
--------------------------------------------------------------
Hey,
i am a newbie in jBPM. I am trying to end my process after a timer triggered.
The process is a kind of an approvement thing. So the the process can by ended by an user
task or after the timer triggers without reaction of the user.
The intersting thing is that on a clean database the pocess works the first time. So the
timer triggers and the process ends. But when I start a new
instance of ther process and the timer triges an exception occurs.
The stacktrace is:
org.drools.RuntimeDroolsException: Unexpected exception executing action
org.jbpm.process.instance.event.DefaultSignalManager$SignalProcessInstanceAction@4a152d1e
at
org.drools.common.AbstractWorkingMemory.executeQueuedActions(AbstractWorkingMemory.java:995)
at
org.drools.impl.StatefulKnowledgeSessionImpl.executeQueuedActions(StatefulKnowledgeSessionImpl.java:866)
at
org.jbpm.process.instance.event.DefaultSignalManager.signalEvent(DefaultSignalManager.java:90)
at
org.jbpm.process.instance.timer.TimerManager$ProcessJob.execute(TimerManager.java:323)
at org.drools.time.SelfRemovalJob.execute(SelfRemovalJob.java:15)
at
org.drools.time.impl.DefaultTimerJobInstance.call(DefaultTimerJobInstance.java:51)
at
org.drools.time.impl.DefaultTimerJobInstance.call(DefaultTimerJobInstance.java:14)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
at java.util.concurrent.FutureTask.run(FutureTask.java:166)
at
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:178)
at
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:292)
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:722)
Do I miss something?
--------------------------------------------------------------
Reply to this message by going to Community
[
https://community.jboss.org/message/822903#822903]
Start a new discussion in jBPM at Community
[
https://community.jboss.org/choose-container!input.jspa?contentType=1&...]