- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-27-2016 09:21 AM
In the workflow of a service catalog request I've added an approval step. I've been asked to have the request automatically cancel itself if the approval step is not completed within X days of time. How would I implement that?
I would *prefer* not to have a daily scheduled job that checks, but rather have it all inside the workflow itself if possible.
Solved! Go to Solution.
- Labels:
-
Scripting and Coding
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-27-2016 09:31 AM
Hi Scott,
You need to add a timer activity.Send output of a activity to both approval and timer at a time.After the timer activity add a if activity that will check the approval activity is completed or not.If it is not completed then set value to cancel request.
Please mark it as Helpful/Correct according to its impact,
Thanks,
Mihir
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-27-2016 09:31 AM
Hi Scott,
You need to add a timer activity.Send output of a activity to both approval and timer at a time.After the timer activity add a if activity that will check the approval activity is completed or not.If it is not completed then set value to cancel request.
Please mark it as Helpful/Correct according to its impact,
Thanks,
Mihir
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-24-2017 05:11 AM
Hello Mihir,
May I know what will be the ifScript to check if the approval activity is completed or not? Thanks.
Best Regards,
Diane Miro