Cancelling approvals in change

scottjus82
Kilo Guru

Hi all,

 

I now have a requirement to provide a back out button after a change has been approved but before it is implemented (mainly due to customers cancelling a change at the last minute) I have added a blackout button to the change form (very visually focused here) Clicking the button changes the phase back to draft mode (in Definition) so it can then go through the approvals stage, It is getting stuck at the point that approvals should go back out again and I think that is because the change is already approved. Can anyone advised what I add to my UI script that cancels the previously approved approvals so that they can be resent again?

 

Thanks

6 REPLIES 6

scottjus82
Kilo Guru

So, further testing has suggested its not down to the approvals. I need to have a rollback option in my workflow however the trigger for the rollback could be at a number of points in the process. now when clicking the rollback button it changes the phase back to in-definition and ticks a box called Backed out (which will also be used to report on changes that have been backed out)


My assumption would be that I have an if statement that checks to see if the box is ticked, if it is the change rolls back which should then allow the change to move forward through the process. How do I add this if statement so that its checked all the way through the workflow and not just at a certain stage?



Any thoughts would be appreciated.


See the simple workflow screenshot below.   When your workflow routes for approvals, I would suggest an additional parallel activity happening where it is waiting for a change to the Backout flag.   With this set, which ever activity finishes first wins so if the change is backed out, it calls a roll back to move the change back to Draft.   This should move all the existing approvals back to a "Not Yet Requested" status, but once resubmitted they will move to a "Requested" state.



find_real_file.png


Hey,



So I have this working now and my regression button to take the change back to an editable change works. What do I need to add to in affect cancel the approvals that have already happened? I thought that with the button directing the workflow to a roll back it would then send out approvals again however that does not happen. This is the same rollback that is used when approvals are rejected and it does then send our approvals again when at the right point in the workflow.


I am not sure I am following what you are trying to do.   Can you please explain further?



If a change is sent back for editing, most organizations choose to force all approvals to happen again.   This is because the edit could impact the approvals decision and thus they need to review it again.