[jboss-user] [jBPM] - [jBPM 4.3] Cancel Job/Timer

Melih Cetin do-not-reply at jboss.com
Mon May 31 06:20:59 EDT 2010

Melih Cetin [http://community.jboss.org/people/kafsinkaf] replied to the discussion

"[jBPM 4.3] Cancel Job/Timer"

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

Hi HuiSheng,

If it is not recommended to signal an execution in the EventListener then could you please let me know the recommended way of handling the following scenario.

We are working with a trading partner and we are putting an asynchronous request to the trading partner via their web service. Completion of the task may take some time for the partner. The way to  check if the task is completed is to make an inquiry again using their  web service in fixed intervals. The current process definition is:

1. put an asynchronous request to a trading partner via a web service (done via a java task). 
2. go to a 'state' and check the completion of task regularly (currently done by a Timer and EventListener). 
** If the task status is complete, progress the workflow to the next activity (currently done by the EventListener). 
** If the task does not get completed within say 48 hours, progress the workflow to a manual task for error handling (currently done by the EventListener).

How would you suggest us to implement this scenario?




Reply to this message by going to Community

Start a new discussion in jBPM at Community

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20100531/7afe119d/attachment.html 

More information about the jboss-user mailing list