<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>question Re: How I can automate sending CAB invitation by system itself every week in ITSM forum</title>
    <link>https://www.servicenow.com/community/itsm-forum/how-i-can-automate-sending-cab-invitation-by-system-itself-every/m-p/487705#M59484</link>
    <description>&lt;P&gt;Hi Priyanka,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please check the link this helps you&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.servicenow.com/community?id=community_blog&amp;amp;sys_id=e30d6ea5dbd0dbc01dcaf3231f96190d" rel="nofollow"&gt;https://community.servicenow.com/community?id=community_blog&amp;amp;sys_id=e30d6ea5dbd0dbc01dcaf3231f96190d&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Mark correct or helpful if this works to you.&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Thanks&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Swapnil&lt;/STRONG&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 10 Jun 2020 11:22:02 GMT</pubDate>
    <dc:creator>Swapnil Soni1</dc:creator>
    <dc:date>2020-06-10T11:22:02Z</dc:date>
    <item>
      <title>How I can automate sending CAB invitation by system itself every week</title>
      <link>https://www.servicenow.com/community/itsm-forum/how-i-can-automate-sending-cab-invitation-by-system-itself-every/m-p/487693#M59472</link>
      <description>&lt;P&gt;What I thought was&amp;nbsp;job should run every week and send mail.&lt;/P&gt;
&lt;P&gt;There are 2 UI action which should run&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="find_real_file.png"&gt;&lt;img src="https://www.servicenow.com/community/image/serverpage/image-id/16258iC2B925BF82DBDA5D/image-size/large?v=v2&amp;amp;px=999" srcset="/community/image/serverpage/image-id/16258iC2B925BF82DBDA5D/image-size/large?v=v2&amp;amp;px=999 1.0x" role="button" title="find_real_file.png" alt="find_real_file.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;I am looking for script in Job which can hit/click these 2 links&amp;nbsp;&lt;/P&gt;
&lt;P&gt;May be 2 different job which pick CAB meeting record for current week and click 2 links&lt;/P&gt;
&lt;P&gt;1)Refresh Agenda items- once we click on this , decision box like this come&amp;nbsp;lets say if I press No every time&lt;span class="lia-inline-image-display-wrapper" image-alt="find_real_file.png"&gt;&lt;img src="https://www.servicenow.com/community/image/serverpage/image-id/16265i1512D8973270842F/image-size/large?v=v2&amp;amp;px=999" srcset="/community/image/serverpage/image-id/16265i1512D8973270842F/image-size/large?v=v2&amp;amp;px=999 1.0x" role="button" title="find_real_file.png" alt="find_real_file.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;2)Send meeting request to attendees- next when this link is clicked- Another decision box- where I say send all.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="find_real_file.png"&gt;&lt;img src="https://www.servicenow.com/community/image/serverpage/image-id/16263i6E3ACA02B6190EA6/image-size/large?v=v2&amp;amp;px=999" srcset="/community/image/serverpage/image-id/16263i6E3ACA02B6190EA6/image-size/large?v=v2&amp;amp;px=999 1.0x" role="button" title="find_real_file.png" alt="find_real_file.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 09 Jun 2020 10:24:47 GMT</pubDate>
      <guid>https://www.servicenow.com/community/itsm-forum/how-i-can-automate-sending-cab-invitation-by-system-itself-every/m-p/487693#M59472</guid>
      <dc:creator>Priyanka Sadhw1</dc:creator>
      <dc:date>2020-06-09T10:24:47Z</dc:date>
    </item>
    <item>
      <title>Re: How I can automate sending CAB invitation by system itself every week</title>
      <link>https://www.servicenow.com/community/itsm-forum/how-i-can-automate-sending-cab-invitation-by-system-itself-every/m-p/487694#M59473</link>
      <description>&lt;P&gt;Hi Priyanka,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If I am following you correctly, then I believe you only need server side code of the mentioned UI actions. I would suggest wrapping the server side functionality of both the UI actions inside a new script include and calling it from your scheduled job.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I hope this will help.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;Please mark this accepted/helpful, if applicable.&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;Thanks &amp;amp; Regards,&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;Sharjeel&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 09 Jun 2020 10:41:39 GMT</pubDate>
      <guid>https://www.servicenow.com/community/itsm-forum/how-i-can-automate-sending-cab-invitation-by-system-itself-every/m-p/487694#M59473</guid>
      <dc:creator>MrMuhammad</dc:creator>
      <dc:date>2020-06-09T10:41:39Z</dc:date>
    </item>
    <item>
      <title>Re: How I can automate sending CAB invitation by system itself every week</title>
      <link>https://www.servicenow.com/community/itsm-forum/how-i-can-automate-sending-cab-invitation-by-system-itself-every/m-p/487695#M59474</link>
      <description>&lt;P&gt;Hi Muhammed,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;As I am not good at scripting and sorry to ask such question&lt;/P&gt;
&lt;P&gt;But i am not sure what these highlighted lines are- where Do i check this code.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="find_real_file.png"&gt;&lt;img src="https://www.servicenow.com/community/image/serverpage/image-id/16250iED96FFD3E7C0D077/image-size/large?v=v2&amp;amp;px=999" srcset="/community/image/serverpage/image-id/16250iED96FFD3E7C0D077/image-size/large?v=v2&amp;amp;px=999 1.0x" role="button" title="find_real_file.png" alt="find_real_file.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 09 Jun 2020 11:19:12 GMT</pubDate>
      <guid>https://www.servicenow.com/community/itsm-forum/how-i-can-automate-sending-cab-invitation-by-system-itself-every/m-p/487695#M59474</guid>
      <dc:creator>Priyanka Sadhw1</dc:creator>
      <dc:date>2020-06-09T11:19:12Z</dc:date>
    </item>
    <item>
      <title>Re: How I can automate sending CAB invitation by system itself every week</title>
      <link>https://www.servicenow.com/community/itsm-forum/how-i-can-automate-sending-cab-invitation-by-system-itself-every/m-p/487696#M59475</link>
      <description>&lt;P&gt;So, there are three parts of the script. In the first part we have a function name &lt;STRONG&gt;ShowConfirmationPopup&lt;/STRONG&gt;.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="find_real_file.png"&gt;&lt;img src="https://www.servicenow.com/community/image/serverpage/image-id/16256i603B8EBBA10125EE/image-size/large?v=v2&amp;amp;px=999" srcset="/community/image/serverpage/image-id/16256i603B8EBBA10125EE/image-size/large?v=v2&amp;amp;px=999 1.0x" role="button" title="find_real_file.png" alt="find_real_file.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;This function is running on client side and generating a nice &lt;STRONG&gt;Send Meeting Notification&lt;/STRONG&gt;&amp;nbsp;popup with two buttons &lt;STRONG&gt;Send to all&lt;/STRONG&gt; and Send to New. When you click on&amp;nbsp;&lt;STRONG&gt;Send to new&lt;/STRONG&gt; below function called and executes.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="find_real_file.png"&gt;&lt;img src="https://www.servicenow.com/community/image/serverpage/image-id/16257iA4253E1C80E02D5B/image-size/large?v=v2&amp;amp;px=999" srcset="/community/image/serverpage/image-id/16257iA4253E1C80E02D5B/image-size/large?v=v2&amp;amp;px=999 1.0x" role="button" title="find_real_file.png" alt="find_real_file.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Above function is running on server side and it first remove the popup from the screen and trigger event which in response send notification to all the new attendees.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If user clicks on &lt;STRONG&gt;Send to All&amp;nbsp;&lt;/STRONG&gt;then third function called and executes.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="find_real_file.png"&gt;&lt;img src="https://www.servicenow.com/community/image/serverpage/image-id/16251i6CE5B76ABE6B1314/image-size/large?v=v2&amp;amp;px=999" srcset="/community/image/serverpage/image-id/16251i6CE5B76ABE6B1314/image-size/large?v=v2&amp;amp;px=999 1.0x" role="button" title="find_real_file.png" alt="find_real_file.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;This function is also running on server side and it triggers event that send notification to all the attendees.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In your case if you write a scheduled job that runs on server so you cannot leverage client side code (first function) rather you can only use next two functions that is running on server side and supported by Scheduled job.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I hope this will help you get an idea of how UI action is working and how you can leverage the script in job.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Please mark this accepted &amp;amp; helpful, if you applicable.&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;
&lt;P&gt;Sharjeel&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 09 Jun 2020 11:43:01 GMT</pubDate>
      <guid>https://www.servicenow.com/community/itsm-forum/how-i-can-automate-sending-cab-invitation-by-system-itself-every/m-p/487696#M59475</guid>
      <dc:creator>MrMuhammad</dc:creator>
      <dc:date>2020-06-09T11:43:01Z</dc:date>
    </item>
    <item>
      <title>Re: How I can automate sending CAB invitation by system itself every week</title>
      <link>https://www.servicenow.com/community/itsm-forum/how-i-can-automate-sending-cab-invitation-by-system-itself-every/m-p/487697#M59476</link>
      <description>&lt;P&gt;Hi Sharjeel,&lt;/P&gt;
&lt;P&gt;I cant see event -sn_change_cab_notify_all_attendees&lt;span class="lia-inline-image-display-wrapper" image-alt="find_real_file.png"&gt;&lt;img src="https://www.servicenow.com/community/image/serverpage/image-id/16255iAD29F0EC70D7E703/image-size/large?v=v2&amp;amp;px=999" srcset="/community/image/serverpage/image-id/16255iAD29F0EC70D7E703/image-size/large?v=v2&amp;amp;px=999 1.0x" role="button" title="find_real_file.png" alt="find_real_file.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 09 Jun 2020 12:33:05 GMT</pubDate>
      <guid>https://www.servicenow.com/community/itsm-forum/how-i-can-automate-sending-cab-invitation-by-system-itself-every/m-p/487697#M59476</guid>
      <dc:creator>Priyanka Sadhw1</dc:creator>
      <dc:date>2020-06-09T12:33:05Z</dc:date>
    </item>
    <item>
      <title>Re: How I can automate sending CAB invitation by system itself every week</title>
      <link>https://www.servicenow.com/community/itsm-forum/how-i-can-automate-sending-cab-invitation-by-system-itself-every/m-p/487698#M59477</link>
      <description>&lt;P&gt;&lt;STRONG&gt;sn_change_cab_notify_all_attendees &lt;/STRONG&gt;is&lt;STRONG&gt;&amp;nbsp;&lt;/STRONG&gt;action name being used in&amp;nbsp;&lt;STRONG&gt;Notify All Attendees&amp;nbsp;&lt;/STRONG&gt;Ui action and which is getting called from &lt;STRONG&gt;Send meeting request to attendees&amp;nbsp;&lt;/STRONG&gt;via that action name. Events are getting triggered by Notify All Attendees UI action. See screenshot below.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="find_real_file.png"&gt;&lt;img src="https://www.servicenow.com/community/image/serverpage/image-id/16253i0CC28B73F54EB0C9/image-size/large?v=v2&amp;amp;px=999" srcset="/community/image/serverpage/image-id/16253i0CC28B73F54EB0C9/image-size/large?v=v2&amp;amp;px=999 1.0x" role="button" title="find_real_file.png" alt="find_real_file.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="find_real_file.png"&gt;&lt;img src="https://www.servicenow.com/community/image/serverpage/image-id/16254i5FBF170E956A5500/image-size/large?v=v2&amp;amp;px=999" srcset="/community/image/serverpage/image-id/16254i5FBF170E956A5500/image-size/large?v=v2&amp;amp;px=999 1.0x" role="button" title="find_real_file.png" alt="find_real_file.png" /&gt;&lt;/span&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Above Ui action is calling &lt;STRONG&gt;CABMeeting()&lt;/STRONG&gt; script include and that script include calling another script include.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I would recommend not to go that deep into the script as you are not very into scripting so will be lost.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you know how to script a scheduled job, just wrap two server side functions I explained in the first UI action into the Script include and call from the job with minor tweaks. It will do the job.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Please mark this accepted &amp;amp; helpful, if&amp;nbsp;it helps.&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;
&lt;P&gt;Sharjeel&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 09 Jun 2020 14:29:04 GMT</pubDate>
      <guid>https://www.servicenow.com/community/itsm-forum/how-i-can-automate-sending-cab-invitation-by-system-itself-every/m-p/487698#M59477</guid>
      <dc:creator>MrMuhammad</dc:creator>
      <dc:date>2020-06-09T14:29:04Z</dc:date>
    </item>
    <item>
      <title>Re: How I can automate sending CAB invitation by system itself every week</title>
      <link>https://www.servicenow.com/community/itsm-forum/how-i-can-automate-sending-cab-invitation-by-system-itself-every/m-p/487699#M59478</link>
      <description>&lt;P&gt;Actually Job I was trying since your first reply&lt;/P&gt;
&lt;P&gt;See- after if&amp;nbsp; section- not able to understand what is happening&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="find_real_file.png"&gt;&lt;img src="https://www.servicenow.com/community/image/serverpage/image-id/16252iD569714DEE087588/image-size/large?v=v2&amp;amp;px=999" srcset="/community/image/serverpage/image-id/16252iD569714DEE087588/image-size/large?v=v2&amp;amp;px=999 1.0x" role="button" title="find_real_file.png" alt="find_real_file.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 09 Jun 2020 14:34:09 GMT</pubDate>
      <guid>https://www.servicenow.com/community/itsm-forum/how-i-can-automate-sending-cab-invitation-by-system-itself-every/m-p/487699#M59478</guid>
      <dc:creator>Priyanka Sadhw1</dc:creator>
      <dc:date>2020-06-09T14:34:09Z</dc:date>
    </item>
    <item>
      <title>Re: How I can automate sending CAB invitation by system itself every week</title>
      <link>https://www.servicenow.com/community/itsm-forum/how-i-can-automate-sending-cab-invitation-by-system-itself-every/m-p/487700#M59479</link>
      <description>&lt;P&gt;CABMeeting script include is in scoped app so you have to give fully qualified name domain + script include name.&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;sn_change_cab.CABMeeting(gr)&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Also, here is the sample code I just ran for quick testing in the background script and its working fine.&amp;nbsp;&lt;/P&gt;
&lt;PRE class="language-markup"&gt;&lt;CODE&gt;var gr = new GlideRecord('cab_meeting');
gr.addQuery('sys_id', &amp;lt;sys_id&amp;gt;); // replace sys_id with any Cab meeting sys id.
gr.query();
gr.next();
gs.print(gr.getRowCount());

var notifiedAttendeesCount = new sn_change_cab.CABMeeting(gr).createCABAttendeeNotifyEvents();
var infoMessage = notifiedAttendeesCount &amp;gt; 0 ? gs.getMessage("Notifications sent to all attendees") : gs.getMessage("No notifications sent as there are no attendees");
gs.print(infoMessage);
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Replace &amp;lt;&lt;SPAN style="color: #ff00ff;"&gt;sys_id&lt;/SPAN&gt;&amp;gt; with one of your Cab meeting sys ID in the above code and test in background script and see the output for reference. after that you can modify this as per your need&lt;/P&gt;
&lt;P&gt;Let me know if you face any issues.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Please mark this accepted &amp;amp; helpful, if&amp;nbsp;it helps.&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;
&lt;P&gt;Sharjeel&lt;/P&gt;</description>
      <pubDate>Wed, 10 Jun 2020 01:47:17 GMT</pubDate>
      <guid>https://www.servicenow.com/community/itsm-forum/how-i-can-automate-sending-cab-invitation-by-system-itself-every/m-p/487700#M59479</guid>
      <dc:creator>MrMuhammad</dc:creator>
      <dc:date>2020-06-10T01:47:17Z</dc:date>
    </item>
    <item>
      <title>Re: How I can automate sending CAB invitation by system itself every week</title>
      <link>https://www.servicenow.com/community/itsm-forum/how-i-can-automate-sending-cab-invitation-by-system-itself-every/m-p/487701#M59480</link>
      <description>&lt;P&gt;Hi Sharjeel,&lt;/P&gt;
&lt;P&gt;It is working by hardcoded sysid.Now I need to fetch meeting sys_id weekly- may be in encoded query, which is not happening&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="find_real_file.png"&gt;&lt;img src="https://www.servicenow.com/community/image/serverpage/image-id/16261iA56893746F020C9D/image-size/large?v=v2&amp;amp;px=999" srcset="/community/image/serverpage/image-id/16261iA56893746F020C9D/image-size/large?v=v2&amp;amp;px=999 1.0x" role="button" title="find_real_file.png" alt="find_real_file.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 10 Jun 2020 06:35:21 GMT</pubDate>
      <guid>https://www.servicenow.com/community/itsm-forum/how-i-can-automate-sending-cab-invitation-by-system-itself-every/m-p/487701#M59480</guid>
      <dc:creator>Priyanka Sadhw1</dc:creator>
      <dc:date>2020-06-10T06:35:21Z</dc:date>
    </item>
    <item>
      <title>Re: How I can automate sending CAB invitation by system itself every week</title>
      <link>https://www.servicenow.com/community/itsm-forum/how-i-can-automate-sending-cab-invitation-by-system-itself-every/m-p/487702#M59481</link>
      <description>&lt;P&gt;It is wrking now after removing @&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="find_real_file.png"&gt;&lt;img src="https://www.servicenow.com/community/image/serverpage/image-id/16259i8C13784E20990869/image-size/large?v=v2&amp;amp;px=999" srcset="/community/image/serverpage/image-id/16259i8C13784E20990869/image-size/large?v=v2&amp;amp;px=999 1.0x" role="button" title="find_real_file.png" alt="find_real_file.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 10 Jun 2020 07:32:19 GMT</pubDate>
      <guid>https://www.servicenow.com/community/itsm-forum/how-i-can-automate-sending-cab-invitation-by-system-itself-every/m-p/487702#M59481</guid>
      <dc:creator>Priyanka Sadhw1</dc:creator>
      <dc:date>2020-06-10T07:32:19Z</dc:date>
    </item>
    <item>
      <title>Re: How I can automate sending CAB invitation by system itself every week</title>
      <link>https://www.servicenow.com/community/itsm-forum/how-i-can-automate-sending-cab-invitation-by-system-itself-every/m-p/487703#M59482</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;You can use the schedule job for such type of repeated notification. Refer below links&lt;/P&gt;
&lt;P&gt;&lt;A href="https://docs.servicenow.com/bundle/orlando-platform-administration/page/administer/reference-pages/concept/c_ScheduledJobs.html" rel="nofollow"&gt;Schedule Job&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://developer.servicenow.com/dev.do#!/learn/learning-plans/madrid/new_to_servicenow/app_store_learnv2_automatingapps_madrid_scheduled_script_executions_and_events_objectives" rel="nofollow"&gt;Schedule Script and Event&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;If my response helps you, make it correct and helpful.&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;
&lt;P&gt;Bhagyashri Sorte.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 10 Jun 2020 10:48:53 GMT</pubDate>
      <guid>https://www.servicenow.com/community/itsm-forum/how-i-can-automate-sending-cab-invitation-by-system-itself-every/m-p/487703#M59482</guid>
      <dc:creator>Bhagyashri Sort</dc:creator>
      <dc:date>2020-06-10T10:48:53Z</dc:date>
    </item>
    <item>
      <title>Re: How I can automate sending CAB invitation by system itself every week</title>
      <link>https://www.servicenow.com/community/itsm-forum/how-i-can-automate-sending-cab-invitation-by-system-itself-every/m-p/487704#M59483</link>
      <description>&lt;P&gt;Glad It works! Happy Coding.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Kindly mark the appropriate response &lt;STRONG&gt;accepted&lt;/STRONG&gt; and &lt;STRONG&gt;helpful&lt;/STRONG&gt; so that others can be benefited by this and this thread can be closed as solved.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;
&lt;P&gt;Sharjeel&lt;/P&gt;</description>
      <pubDate>Wed, 10 Jun 2020 11:13:51 GMT</pubDate>
      <guid>https://www.servicenow.com/community/itsm-forum/how-i-can-automate-sending-cab-invitation-by-system-itself-every/m-p/487704#M59483</guid>
      <dc:creator>MrMuhammad</dc:creator>
      <dc:date>2020-06-10T11:13:51Z</dc:date>
    </item>
    <item>
      <title>Re: How I can automate sending CAB invitation by system itself every week</title>
      <link>https://www.servicenow.com/community/itsm-forum/how-i-can-automate-sending-cab-invitation-by-system-itself-every/m-p/487705#M59484</link>
      <description>&lt;P&gt;Hi Priyanka,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please check the link this helps you&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.servicenow.com/community?id=community_blog&amp;amp;sys_id=e30d6ea5dbd0dbc01dcaf3231f96190d" rel="nofollow"&gt;https://community.servicenow.com/community?id=community_blog&amp;amp;sys_id=e30d6ea5dbd0dbc01dcaf3231f96190d&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Mark correct or helpful if this works to you.&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Thanks&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Swapnil&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 10 Jun 2020 11:22:02 GMT</pubDate>
      <guid>https://www.servicenow.com/community/itsm-forum/how-i-can-automate-sending-cab-invitation-by-system-itself-every/m-p/487705#M59484</guid>
      <dc:creator>Swapnil Soni1</dc:creator>
      <dc:date>2020-06-10T11:22:02Z</dc:date>
    </item>
    <item>
      <title>Re: How I can automate sending CAB invitation by system itself every week</title>
      <link>https://www.servicenow.com/community/itsm-forum/how-i-can-automate-sending-cab-invitation-by-system-itself-every/m-p/487706#M59485</link>
      <description>&lt;P&gt;&lt;SN-MENTION class="sn-mention" table="live_profile" sysid="5b6e3a371bc5cc10fff162c4bd4bcb82"&gt;@Priyanka Sadhwani&lt;/SN-MENTION&gt;&amp;nbsp;one thing I noticed is that you should wrap your &lt;STRONG&gt;line 6,7&amp;nbsp;&lt;/STRONG&gt;inside While loop so that it trigger notifications for all the cab meetings retrieved as part of our query.&amp;nbsp;&lt;/P&gt;
&lt;PRE class="language-javascript"&gt;&lt;CODE&gt;while(gr.next()){
 var notifiedAttendeesCount = .....................;
 ..................

}&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 10 Jun 2020 11:47:02 GMT</pubDate>
      <guid>https://www.servicenow.com/community/itsm-forum/how-i-can-automate-sending-cab-invitation-by-system-itself-every/m-p/487706#M59485</guid>
      <dc:creator>MrMuhammad</dc:creator>
      <dc:date>2020-06-10T11:47:02Z</dc:date>
    </item>
    <item>
      <title>Re: How I can automate sending CAB invitation by system itself every week</title>
      <link>https://www.servicenow.com/community/itsm-forum/how-i-can-automate-sending-cab-invitation-by-system-itself-every/m-p/487707#M59486</link>
      <description>&lt;P&gt;In Automated Job- may mails are sent than expected..it should send approx 18 mail&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="find_real_file.png"&gt;&lt;img src="https://www.servicenow.com/community/image/serverpage/image-id/16260i6DD897E3F322C86E/image-size/large?v=v2&amp;amp;px=999" srcset="/community/image/serverpage/image-id/16260i6DD897E3F322C86E/image-size/large?v=v2&amp;amp;px=999 1.0x" role="button" title="find_real_file.png" alt="find_real_file.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 12 Jun 2020 06:13:29 GMT</pubDate>
      <guid>https://www.servicenow.com/community/itsm-forum/how-i-can-automate-sending-cab-invitation-by-system-itself-every/m-p/487707#M59486</guid>
      <dc:creator>Priyanka Sadhw1</dc:creator>
      <dc:date>2020-06-12T06:13:29Z</dc:date>
    </item>
    <item>
      <title>Re: How I can automate sending CAB invitation by system itself every week</title>
      <link>https://www.servicenow.com/community/itsm-forum/how-i-can-automate-sending-cab-invitation-by-system-itself-every/m-p/487708#M59487</link>
      <description>You are expecting 18 emails and it triggered 16 right? 

Can you show me the latest code?</description>
      <pubDate>Fri, 12 Jun 2020 08:10:38 GMT</pubDate>
      <guid>https://www.servicenow.com/community/itsm-forum/how-i-can-automate-sending-cab-invitation-by-system-itself-every/m-p/487708#M59487</guid>
      <dc:creator>MrMuhammad</dc:creator>
      <dc:date>2020-06-12T08:10:38Z</dc:date>
    </item>
    <item>
      <title>Re: How I can automate sending CAB invitation by system itself every week</title>
      <link>https://www.servicenow.com/community/itsm-forum/how-i-can-automate-sending-cab-invitation-by-system-itself-every/m-p/487709#M59488</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Issue was with encoded query, i changed to -&amp;nbsp;gr.addEncodedQuery("active=true^startONThis week@javascript:gs.beginningOfThisWeek()@javascript:gs.endOfThisWeek()");&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Seeems Working ,&amp;nbsp; testing in progress&lt;/P&gt;</description>
      <pubDate>Fri, 12 Jun 2020 08:47:45 GMT</pubDate>
      <guid>https://www.servicenow.com/community/itsm-forum/how-i-can-automate-sending-cab-invitation-by-system-itself-every/m-p/487709#M59488</guid>
      <dc:creator>Priyanka Sadhw1</dc:creator>
      <dc:date>2020-06-12T08:47:45Z</dc:date>
    </item>
    <item>
      <title>Re: How I can automate sending CAB invitation by system itself every week</title>
      <link>https://www.servicenow.com/community/itsm-forum/how-i-can-automate-sending-cab-invitation-by-system-itself-every/m-p/487710#M59489</link>
      <description>&lt;P&gt;Cool. Let me know if you need any help.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 12 Jun 2020 10:31:19 GMT</pubDate>
      <guid>https://www.servicenow.com/community/itsm-forum/how-i-can-automate-sending-cab-invitation-by-system-itself-every/m-p/487710#M59489</guid>
      <dc:creator>MrMuhammad</dc:creator>
      <dc:date>2020-06-12T10:31:19Z</dc:date>
    </item>
  </channel>
</rss>

