syleam/stock_scanner — pull request #5 by lmignon (2014-06-24 09:22:51+00:00)
Title: 7.0_add_step_no_back_fix_transition_back

Hi,

In our scenario the workflow loops on a lot of steps. The first one is to select a product by ean..... To prevent that a 'back' transition return to an earlier step of the the first one, a new flag 'no_back' has been added on the step.

I've also modified the way transition_type is processed to avoid that a 'back' or 'restart' transition, replays the transitions BEFORE the step we want to go to. A 'back' or 'restart' transition put the workflow directly on the expected step. In the same time, I corrected when the identifier of the step is stored in the history of steps available for 'back' transition.

Regards,

lmi