- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ā10-15-2020 04:42 AM
Hi,
Is there any way to cancel the change and approvals if scheduled starts has passed before approving the change request.
Please suggest.
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ā10-15-2020 05:15 AM
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.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ā10-15-2020 05:39 AM
Hi,
I see 2 approvals here. Which approval you wanted to check whether its approved before schedule start or not?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ā10-15-2020 05:42 AM
I want to check for both.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ā10-15-2020 05:51 AM
Then create the branch activity before each of those approvals and link 1 to the approval and other to the timer.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ā10-15-2020 06:19 AM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ā10-15-2020 06:28 AM
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.