Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Go back to previous status in Workflow based on value of a custom field

Declan Murphy July 9, 2015

In the workflow we are designing, there is a stage where we have realised that it makes sense to go back to a previous status based on the value of a field.

Is there a plugin or method (perhaps through scriptrunner) for doing this or should we start looking into coding a solution?

Any help would be greatly appreciated.

1 answer

1 vote
Nic Brough -Adaptavist-
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
July 9, 2015

You need to build your workflow with that possibility in mind - have a transition back to the last status.  You can protect it with conditions to limit who can use it.  Then you can look into when it should be triggered, and maybe automating setting it back.

All you've said about a trigger though is "based on the value of a field".  You might find it easier to prevent issues going into the status when the field would trigger the jump back, or you could remove the field from edit and force the user to use the transtion back through the workflow if they want to set the field to the triggering value.

Declan Murphy July 9, 2015

Thank you for your help. The trigger is a yes/no radio button that confirms acceptance of values set at the previous transition. The idea was that a yes value would allow the transition to be carried out whereas a no value would jump the transition back to the previous status from which the values could be reset. But like you said, it may be easier to just modify the workflow with a transitional loopback.

Suggest an answer

Log in or Sign up to answer