I have a workflow where I have two manual input jobs, one is to roll changes forward to production and one is to roll back changes from production. Since both of these jobs are manual inputs they put the whole build on hold which is a problem for us.
The other issue is that when a job is bad and it has been rolled back then rolling forward should be disabled as someone could by mistake press the button and roll the bad deployment to production.
I was wondering if there is a way to add a condition like so, can you provide a working example of the condition please?
Roll-forward:
Manual
When:
Roll-backward not run
Roll-backward
Manual
When:
Roll-forward not run