Change RITM Priority After a Certain Number of Days
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-20-2025 04:47 PM
I have a flow where I want a task to be created when a user requests a computer.
The user should return the computer within a maximum of 14 days! What happens if this doesn't occur? Both the task and the created RITM should have a higher priority.
What has been challenging for me?
- If the user returns the computer before the 14-day deadline, the priority should not change! The task and the RITM should be closed (normal flow).
What I tried:
In the Flow, I added a Wait for Condition that triggers when the SCTASK is marked Closed Complete.
At the same time, when the SCTASK is created, I started a 14-day timer in parallel.
However, I couldn’t get it to work as expected.
Any suggestions or guidance would be greatly appreciated!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-20-2025 05:45 PM
Hi J
Create a checkbox or a hidden variable and whenever the user returns before 14 days update that checkbox and refer to the checkbox value in the wait-for condition
Regards
Ch Hemant Kumar
Ciena India
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-20-2025 07:25 PM
I would suggest a schedule job to monitor the active sctask of the RITMs of desired catalog item and compare the current date and creation date of task. If it is greater than 14 days then set the respective RITM Priority to High.
I believe doing it in Flow might not be accurate.
Regards
Saranesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-20-2025 08:18 PM
Simply run a scheduled job and query you RITM with specific catalog item
Then get the date, get current date, add 1 days to current date and then compare both the dates
If it's more then update the RITM priority
If my response helped please mark it correct and close the thread so that it benefits future readers.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-02-2025 07:55 PM
Thank you for marking my response as helpful.
If my response helped please mark it correct and close the thread so that it benefits future readers.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader