- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-27-2017 04:26 AM
hi, what should be done to trigger a notification after 11 months from the date which is set on 'implementation date' field on form.
that means if current date - implementation date is equal to 11 months than this notification should trigger, what will be the code for this.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-02-2017 12:04 AM
Hi Anshul,,
1. Create a event registry as shown in screenshot.
Give a name and table as you require.
call this event in your script as gs.eventQueue("event name",gr,"",""); // As per your script replace gr with eder and event name with the one you created now.
2. Create a notification in the same table as event.
HOpe this helps you.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-27-2017 04:37 AM
Your best bet is to use gs.eventQueueScheduled(), which you can see an example of here: Create a simple reminder email
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-27-2017 04:48 AM
Hi Anshul,
1.Create a event in Registry.
2. Go ahead with a schedule script execution.
Glide in to the table and addEncoded query as u_loan_return_dateRELATIVEEE@month@ago@11 // change this date field to yours.
3. fetch all the records and trigger the event by gs.eventQueue("event name",gr,"","");
4. Configure the notification in the same table.
Hope this helps you.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-01-2017 11:44 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-02-2017 12:04 AM
Hi Anshul,,
1. Create a event registry as shown in screenshot.
Give a name and table as you require.
call this event in your script as gs.eventQueue("event name",gr,"",""); // As per your script replace gr with eder and event name with the one you created now.
2. Create a notification in the same table as event.
HOpe this helps you.