Auto close SCTASK after 7 days, if no response from customer

MS17
Tera Contributor

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.

 

MS17_0-1776233264671.png

 

MS17_1-1776233302941.png

 

4 REPLIES 4

Mark Manders
Giga Patron

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

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

 

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

Ankur Bawiskar
Tera Patron

@MS17 

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! 🙏

Regards,
Ankur
Certified Technical Architect  ||  10x ServiceNow MVP  ||  ServiceNow Community Leader