geekq/workflow — Issue #42: Previous step
Author: Beerlover88
Created: 2012-01-24 21:51:29+00:00
State: open

Looking through the code, I don't see any way to reference the last step. For example, I've got a branched workflow, and I'd like to be able to call reject at a step and have it go back to the previous step, which might be one of two possible things. I'm thinking that the best way to handle this might be to add another column called previous_workflow_state, and then update this using the on_transition hook. Sound reasonable?

Thanks!