JBoss Community

How to cancel Timer Event

created by Hrushikesh Chidley in jBPM - View the full discussion

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

Start a new discussion in jBPM at Community