gs.EventQueueScheduled based on date/time field.

niveditakumari
Mega Sage

Hi, 

 

I want to notify users when planned start date time field value change it should send notification at that time for change request. 

Can you please tell code that how we can achieve it for change request request. 

 

Regards, 

Nivedita

 

 

1 ACCEPTED SOLUTION
6 REPLIES 6

RaghavSh
Kilo Patron

Follow below: 

1. Create an after update BR on change request table with condition "planned start date changes".

2. you don't need gs.EventQueueScheduled(), just use gs.eventQueue() to fire an event through your BR.

3. Create a notification which runs  based on your event fired through your BR.

 

Refer : https://www.servicenow.com/community/developer-forum/gs-eventqueue/m-p/1529243 


Raghav
MVP 2023
LinkedIn

I want notification should be sent at that time only when planned start date set and I want to know use of gs.EventQueueScheduled. 

Can you please tell me how I can achieve it. 

 

Regards, 

Nivedita

 

 

@RaghavSh , 

 

I saw that post but I didn't understand So I posted question. 

Can you please tell step by step what should I write in code to achieve it. 

 

Regards, 

Nivedita