Flow Designer - Date Trigger

mustafaia1
Tera Contributor

Our team is using a Catalog Item to record Separation Requests. There is a question that captures the last day of work as a date question. We get these requests in advance and cannot process them until the day they are separated. I want to use that variable from the form to trigger when an email gets sent to the assignment group to process the request. Can this be done? 

 

In example: 

 

An employee is separating on 01/14/2024. Our team is assigned the case and will need to wait until 01/14/2024 to process. Instead of adding a calendar reminder to process the separation, an email is sent to the group automatically reminding them about the separation that needs to be processed. 

1 REPLY 1

Sainath N
Mega Sage
Mega Sage

@mustafaia1 : Notification can be based on the event, and the event can be fired on a particular date and time (which you get from your variable). Please refer the below syntax and URL that explains in detail. Event gets fired at the mentioned timestamp which eventually triggers the notification.

 

eventQueueScheduled(String name, Object instance, String parm1, String parm2, Object expiration)

https://developer.servicenow.com/dev.do#!/reference/api/tokyo/server/no-namespace/c_GlideSystemScope...

 

sainathnekkanti_0-1704403207670.png

 

Please mark this as correct answer and helpful if it resolved, or mark this helpful if this help you to reach towards solution.