[jboss-user] [JBoss jBPM] - Suspending active timers... what should happen on Resume?

cpob do-not-reply at jboss.com
Tue Jul 11 10:02:37 EDT 2006


I've tried searching the forum and the JIRA, with no luck.

I just tested what jBPM (3.1.1) does with a timer when you suspend/resume.

Here's my scenario:

  - You have a timer that is due in 10 minutes, which gets created when you enter node A.
  - You Enter Node A.  Timer is created, you sit for 5 minutes.
  - You then suspend the process instance.
  - While the process instance is suspended, you wait for 10 minutes.

What should happen when you resume?  I feel that jBPM should understand the timer still has 5 minutes to go.

However, what I'm seeing is, the timer row in the database just gets flipped back to active, and then triggers right after the resume.  Sure, 15 minutes passed on a 10 minute timer, but in my mind, suspending a process instance should pause everything about it.

Thoughts/Discussions?

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3956999#3956999

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3956999



More information about the jboss-user mailing list