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

HuiSheng Xu do-not-reply at jboss.com
Mon May 31 06:41:03 EDT 2010


HuiSheng Xu [http://community.jboss.org/people/rebody] replied to the discussion

"[jBPM 4.3] Cancel Job/Timer"

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

--------------------------------------------------------------
Hi Melih,

Could you let your partner callback process engine after they complete their job?  You could send the executionId as a parameter including the async request message.  And the partner should know how to callback the process after their job.  Then we could put the timer in a transition, and timeout will signal the specified transition and let execution go on running.

If the partner cannot callback process engine, then we could use a decisionActivity to verify whether the partner has done their job, yes will continue, no will go back to the stateactivity.

But be careful when you chose the second way, because there is bug for this scenario,  please refer  https://jira.jboss.org/browse/JBPM-2794 https://jira.jboss.org/browse/JBPM-2794.  This bug has been fixed in the jBPM 4.4.

In my opinion, I think it is definitely a bug that process won't delete related timer after it was signaled by external system and we should find a way to handle it.

--------------------------------------------------------------

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

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/20100531/7bed1f69/attachment.html 


More information about the jboss-user mailing list