How to check state in Statemachine

Hello,

how could i test by State transition the old State (see "stateTransition.png" attachment)?

With this workflow i got the following error message (see attached "error.png").


stateTransition.png


error.png
3 comments
Comment actions Permalink
Hello Martin,
Checking the old state in a state machine rule is generally considered a bad practice. Could you please describe the workflow you try to implement?

Best regards,
  Alexander
0
Comment actions Permalink
Hi Alexander,

i need a state "EstimationRequest". In this state the Developer has to set the Estimation. When the Estimation is set he has to set back the the state to the State setted before. For Example: New -> EstimationRequest; EstimationRequest -> New

EstimationRequest could be set from State: New or Reopened:
When Old State = Reopened, it is impossible to transit from EstimationRequest -> New.
In this case it is only possible EstimationRequest -> Reopened.
0
Comment actions Permalink
Hi Martin,
I see. I'd suggest introducing two similar states (e.g. ToBeEstimated and ToBeReestemated)/

Regards,
  Alexander
0

Please sign in to leave a comment.