Move the Change request to Scheduled if not approved
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-30-2024 03:45 AM
Hi everyone,
Help me in achieving the scenario mentioned below:
Change request when moved to Authorize state, it is triggering approvals to a group.
Once approved, the CR will move to scheduled.
So, my query is, if the approvers don't approve the CR in Authorize state for 2 hours, then it has to be auto approved and move the state to Scheduled.
Please someone tell me how can I do this?
Regards,
Pallavi
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-30-2024 03:53 AM
Hi @Pallavi65
That is not a good practice , the reason begin, in Auth state we seek approval from CAB team, and without CAB approval, moving change to Schedule state and auto approved is a pure violation of process and also it is against the change process.
Please think on these lines before you go for solution.
Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/dratulgrover [ Connect for 1-1 Session]
****************************************************************************************************************
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-30-2024 04:38 AM
Hi @Pallavi65,
As @Dr Atul G- LNG has mentioned it is not good practice but if you want to the same then write the schedule job and check the updated field is for 2 hour then you can set the state as Schedule(use backend name of state.
Please accept my solution if it works for you and thumps up.
Thanks
Jitendra
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-30-2024 05:11 AM
Hi Jitendra,
How can we write a schedule job?
Schedule job runs on daily basis, weekly, monthly. But how can we run for hours?
Regards,
Pallavi
