Send notifications of all assigned group of the sctask after submission of the request

Samiksha2
Mega Sage

Hi All,
I have created a Termination form. (Termination variable- Date/Time type).

After form submitted, a approval will send to manager and after approval, 27 catalog tasks will create. (Added in the flow).

Requirement is:

"Starting 2 hours after the Termination Date and Time, For each Task which is still open, Notify all members of the groups which have not completed their tickets".

 

I was trying to create scheduled jobs but I am stuck how to add script to check for every 2 hours.

 

 Please help me here.

 

Thanks,
Sam

20 REPLIES 20

@Samiksha2 

something like this, I hope you can enhance it further based on your requirement and your developer skills

workflow do until and send email.gif

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

@Samiksha2 

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.

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

Hi @Ankur Bawiskar ,

Your answer is helpful, but there is a problem related to time. When I am selecting any time in the Termination date/time field, flow is not able to calculate the time. (because of the system time). 
I have just submitted the form. But in the flow time is different.

Samiksha2_0-1739435090044.png

 

Please help here.

 

Thanks,
Sam

 

@Samiksha2 

flow will show TIME in GMT.

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

Hi @Ankur Bawiskar ,
If it is GMT then time should be in the morning. around 9am. but in the flow it is around 6 pm.