Event scheduling - gs.eventQueueScheduled

Bhupinder1
Giga Expert

I have a question related to system function-

gs.eventQueueScheduled(<event_name>,<record>,<parm1>,<parm2>,<date_field>);

Question: Can this function be used to schedule events that are longer than 7 days by specifying date in <date_field> parameter which is after 7 days. Since the sysevent table is cleaned after 7 days just wanted to make sure that events that in READY state are transferred after table rotation and do not get lost.

Regards

Bhupinder

system function-

gs.eventQueueScheduled(<event_name>,<record>,<parm1>,<parm2>,<date_field>);

Question: Can this function be used to schedule events that are longer than 7 days by specifying date in <date_field> parameter which is after 7 days. Since the sysevent table is cleaned after 7 days just wanted to make sure that events that in READY state are transferred after table rotation and do not get lost.

1 ACCEPTED SOLUTION

andrew_venables
ServiceNow Employee
ServiceNow Employee

Check out this thread: email Reminder using eventQueueScheduled the bottom post should clarify.



Alternatively you can consider using a workflow with a timer activity that fires the event.


View solution in original post

1 REPLY 1

andrew_venables
ServiceNow Employee
ServiceNow Employee

Check out this thread: email Reminder using eventQueueScheduled the bottom post should clarify.



Alternatively you can consider using a workflow with a timer activity that fires the event.