[JBoss jBPM] - Re: How to invoke a business process in JBoss
by brado
Ronald and Koen,
Perhaps this is the source of my questions. I am using the Jbpm starter's kit 3.0.3. In the source code included in this distribution, there is no org.jbpm.JbpmContext class. Likewise, your Google reference points to org.jbpm.JbpmContext javadoc, which says:
"Obtain JbpmContext's via JbpmConfiguration.createJbpmContext() "
Looking in the starter kit's org.jbpm.JbpmConfiguration class, there is no "createJbpmContext()" method.
I sincerely appreciate your replies, but so far, responses have been fairly RTFM-oriented. I'm not trying to pester you guys -- I'm asking questions for a reason. I have not found references to the JbpmConfiguration class in the starter's kit documentation, and I have not found any class by this name in the starter's kit, and no example which uses this class.
So please, if anyone out there can tell me where in the starter's kit version 3.0.3 where the documentation which describes this class is, where the source code to this class is, and where an example which uses it is.
Thanks, your help is greatly appreciated.
Brad
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3957003#3957003
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3957003
19 years, 9 months
[JBoss jBPM] - Suspending active timers... what should happen on Resume?
by cpob
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
19 years, 9 months