The CreatorCon Call for Content is officially open! Get started here.

Wait for task status change

Dawid2
Giga Guru

Hello,

We're utilizing workflows and I'm looking for solution for the following scenario:

 

Once catalog task is created, workflow should wait, let's say, 5 hours and check if the state of the task has been updated. If not, request should be cancelled, if status has been changed - it should progress to the next activity. Is there a way to have it completed?

5 REPLIES 5

Ankur Bawiskar
Tera Patron
Tera Patron

@Dawid2 

You can use Workflow wait and specify 5 hours. After that wait, have an IF activity and check what's the task status

if it's not updated then mark request as cancelled

If my response helped please mark it correct and close the thread so that it benefits future readers.

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