Auto close SCTASK after 7 days, if no response from customer
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Wednesday
Hi,
We have a flow running on RITM, when Sctask created and when state = onhold, substate = waiting for customer for 7 days, and no response received, then the catalog task should be closed, if state/substate changes before 7 days, then the timer should stop, I have implemented this in a flow, but if multiple SCTASK created under RITM, then flow is not working, how to made it work for multiple sctasks also.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Wednesday
It looks like this is a subflow running on the task(s)? We are missing context here. What isn't working? Is the subflow not running on all tasks? That needs to be checked in the parent flow.
Please mark any helpful or correct solutions as such. That helps others find their solutions.
Mark
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Wednesday
Hi @Mark Manders,
The parent flow is a generic one which we are using it for all catalog items, and this subflow will handle for specific catalog item, so this flow is working for single sctask, how to handle it for multiple sctasks & sctasks will be created serially.
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Wednesday
You are creating the tasks from the generic flow, right? And you are using 'input' (from the look of your screenshots), which means it's a subflow you have in the parent one. That means that you will have to trigger the subflow for each of the tasks, not just for this one task.
Please mark any helpful or correct solutions as such. That helps others find their solutions.
Mark
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Wednesday
Create flow on sc_task and handle the logic of wait there
Flow Triggers when State Changes to On Hold and Substate = Waiting for customer
Then Wait and then handle the closure.
💡 If my response helped, please mark it as correct ✅ and close the thread 🔒— this helps future readers find the solution faster! 🙏
Ankur
✨ Certified Technical Architect || ✨ 10x ServiceNow MVP || ✨ ServiceNow Community Leader
