Forum OpenACS Q&A: Re: Workflow "Rollback" Functionality?

Collapse
Posted by Jeff Wang on
Ideally, we'd like to be able to rollback to any/every state, including the start state. I was thinking about updating the workflow package to create the rollback functionality by manually updating the current_state field in workflow::case::fsm and then updating with the global array that stores all the case info.. However, I am not that familiar with the internals of the workflow package and don't want to break something. I think I'll go with just creating the transitions... although it isn't elegant, it's only a minor inconvenience.

Thanks for the help!

Jeff