[rules-users] Question about backing up a flow

Kris Verlaenen kris.verlaenen at cs.kuleuven.be
Mon Oct 19 20:48:57 EDT 2009


Quoting "Nair, Mahesh" <Mahesh.Nair at qwest.com>:

> [...]
> I expected the session to restart the process from node A once it was
> recreated. Am I going in the right direction?
The process will be in the same state as it ended in the last time.

In general, I would not advice to use database transactions like this to
roll back changes in your process (because you don't necessarily even
know the boundaries of that transaction, so you could have strange
side-effects).

Couldn't you model the same logic using for example a loop (draw a
connection back to a previous location in the process), exception
handlers, event signaling, or a combination of all of these?  It would
make it much more visible for the user what's going on.

Kris

Disclaimer: http://www.kuleuven.be/cwis/email_disclaimer.htm



More information about the rules-users mailing list