Glad It works! Happy Coding.

 

Kindly mark the appropriate response accepted and helpful so that others can be benefited by this and this thread can be closed as solved.

 

Thanks & Regards,

Sharjeel

@Priyanka Sadhwani one thing I noticed is that you should wrap your line 6,7 inside While loop so that it trigger notifications for all the cab meetings retrieved as part of our query. 

while(gr.next()){
 var notifiedAttendeesCount = .....................;
 ..................

}

View solution in original post

In Automated Job- may mails are sent than expected..it should send approx 18 mail

find_real_file.png

You are expecting 18 emails and it triggered 16 right? Can you show me the latest code?

Hello,

 

Issue was with encoded query, i changed to - gr.addEncodedQuery("active=true^startONThis week@javascript:gs.beginningOfThisWeek()@javascript:gs.endOfThisWeek()");

 

Seeems Working ,  testing in progress