Need clarification on gs.eventQueueScheduled()
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-09-2023 07:48 AM
Hello,
I need to generate eventQueueScheduled() with valid to date in the certificate table. created an event and script action also. But we need to Schedule to job to run at 1:00 am PT if the valid date is today. can anyone help me with this?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-09-2023 08:34 AM
@Rama Rao You can refer below links to get more understanding on eventQueueScheduled().
5th parameter in eventQueueScheduled() is the processing time which specifies when to process the event.
eventQueueScheduled(String name, Object instance, String parm1, String parm2, Object expiration)
expiration | Object | Optional. GlideDateTime object or a date/time type element that specifies the date and time to process the event. Default: Current date/time |
If I could help you with your Query then, please hit the Thumb Icon and mark as Correct !!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-09-2023 08:54 AM
Hello @SANDEEP28 ,
Thanks for the response,
Yes, I have used this syntax and it executes the valid to date time. But I have to execute this at 1:00 am PT if the valid date is today
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-09-2023 09:03 AM
@Rama Rao Can you share your code here
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-10-2023 12:28 AM
Hello Sandeep,
Now it resolved.
Thank you