[jboss-user] [jBPM] - Automatically restart process execution flow from a specific state

fausto mancini do-not-reply at jboss.com
Fri Jul 30 05:18:24 EDT 2010


fausto mancini [http://community.jboss.org/people/fmancini] created the discussion

"Automatically restart process execution flow from a specific state"

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

--------------------------------------------------------------
Hi all,
can anyone help me with the following problem?
My process definition is something like this: 'STATE A' --> 'NODE 1' --> 'NODE 2' --> 'STATE B'.
'NODE 2' is querying a DB to retrieve some information. If the DB system is not available, an exception is thrown and JBPM takes the execution flow back to 'STATE B', and this works fine.
My problem is that I want to automatically leave the node 'STATE A' after a fixed timed period, let's say 10 seconds. Is this possible?
I've tried adding a 'node-enter' event on the node 'STATE A' but it seems like it's not fired when the exception is thrown.
I'm using JBPM3.2.8 on JBOSS5.1.

Thank you in advance for any suggestion.

F

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

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

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/20100730/0643073a/attachment.html 


More information about the jboss-user mailing list