You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// Create a GlideRecord object for the 'sys_email' table
2
1
varemailGR=newGlideRecord('sys_email');
3
2
4
-
// Query for the emails you want to ignore (adjust the query as needed)
5
-
emailGR.addQuery('state','ready');// only those mails which are ready to send
6
-
emailGR.addEncodedQuery("sys_created_onONToday@javascript:gs.beginningOfToday()@javascript:gs.endOfToday()");// Optional query to set timeline if not required we can comment this.
7
-
emailGR.query();
3
+
// Query for the emails you want to ignore
4
+
emailGR.addQuery('state','ready');// Only emails that are ready to send
0 commit comments