Need to trigger a notification after 11 months from the date which is set on 'implementation date' field on form

anshul_jain25
Kilo Guru

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.

1 ACCEPTED SOLUTION

Hi Anshul,,



1. Create a event registry as shown in screenshot.


find_real_file.png




Give a name and table as you require.



find_real_file.png



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.


View solution in original post

5 REPLIES 5

shubh1992
Tera Guru

Hi Anshul,



Instead of gs.eventQueue replace it with gs.eventQueue('your_event_name', gr ); and after this create a notification that will be triggered on the basis of this event.


Now create a new event by clicking on new. You just need to provide a name of the event, and table name i.e. u_hr_eder in your case.


Need to trigger a notification after 11 months from the date which is set on 'implementation date' f...find_real_file.png



After creating an event successfully create a notification and click on advanced view.


After that You will see the fields of send when   and event name ,select your event name from the available list.


find_real_file.png




Feel free to ask if u   still find any difficulty or issue.....