How to cancel approvals and change if scheduled starts has passed.

karishma
Mega Expert

Hi,

Is there any way to cancel the change and approvals if scheduled starts has passed before approving the change request.

Please suggest.

1 ACCEPTED SOLUTION

You can create a branch activity and one branch link to approval

Another branch link to timer activity which wait till schedule start date. Once it is crossed add a run script activity and check if the change is approved or not.

If not approved, then you can use the above code and cancel the approvals and end the workflow.

Mark the comment as a correct answer and helpful if it helps.

View solution in original post

22 REPLIES 22

Hi,

I see 2 approvals here. Which approval you wanted to check whether its approved before schedule start or not?

I want to check for both.

Then create the branch activity before each of those approvals and link 1 to the approval and other to the timer.

hi,

is below changes in workflow this fine?

find_real_file.png

Looks good. 

Just check these things

1st branch before 1st approval

1 link goest to 1st approval

another link goes to timer -> if activity to check if change si approved or not. If no, cancel and end.

Same logic before 2nd approval.