[jboss-user] [jBPM] - How to cancel Timer Event

Hrushikesh Chidley do-not-reply at jboss.com
Fri Jul 15 05:05:26 EDT 2011


Hrushikesh Chidley [http://community.jboss.org/people/hrushikesh.chidley] created the discussion

"How to cancel Timer Event"

To view the discussion, visit: http://community.jboss.org/message/615405#615405

--------------------------------------------------------------
Hi,
I am a newbie to jBPM and recently started working with jBPM v5.1. 

I want to use the timer event in the process flow. My requirement is something like this - 
- I want to initiate a process and then start the timeout for that process using timer task
- If the process finishes first and gives me result before the timer expires then I want to cancel the timer event.
- If in case the process does not complete and timer expired first, then I want to stop the process and raise a exception.

I am able to sort out almost every part of this requirement using jBPM 5.1 but the 'cancelling of timer part'.
Could anyone please let me know how can I cancel a timer event in the jBPM process?

Thank you for help.
--------------------------------------------------------------

Reply to this message by going to Community
[http://community.jboss.org/message/615405#615405]

Start a new discussion in jBPM at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20110715/3fb2ef30/attachment.html 


More information about the jboss-user mailing list