<?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 Send email to multiple selected records from List in Developer forum</title>
    <link>https://www.servicenow.com/community/developer-forum/send-email-to-multiple-selected-records-from-list/m-p/2097012#M753938</link>
    <description>&lt;P&gt;Good day all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I created a new Application which will just be a database for records of companies. Communication to these companies will be a requirement especially bulk communication via email.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Requirement is to send bulk emails from List view of records after filtering the records to the ones we want the email to be sent to.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The email client UI Page should appear when selecting the List UI Action.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is my requirement in screenshots:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Select records in list and then choose UI Action.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="chrome_2017-11-08_08-54-26.png"&gt;&lt;img src="https://www.servicenow.com/community/image/serverpage/image-id/65947i50DEE6874B5E801B/image-size/large?v=v2&amp;amp;px=999" role="button" title="chrome_2017-11-08_08-54-26.png" alt="chrome_2017-11-08_08-54-26.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;UI Action should then query the email address field on all selected records and open the Email Client UI Page populating the BCC field with the email address of each selected record.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="chrome_2017-11-08_08-55-23.png"&gt;&lt;img src="https://www.servicenow.com/community/image/serverpage/image-id/65949i088F4B548B4D52FF/image-size/large?v=v2&amp;amp;px=999" role="button" title="chrome_2017-11-08_08-55-23.png" alt="chrome_2017-11-08_08-55-23.png" /&gt;&lt;/span&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Is this possible and what are my steps to create this? UI Action &amp;gt; Business Rule for query &amp;gt; Script include?&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Thank&lt;/STRONG&gt;&lt;STRONG&gt; you in advance&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Regards,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Johannes Coetsee&lt;/STRONG&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 08 Nov 2017 07:05:05 GMT</pubDate>
    <dc:creator>Johannes Coetse</dc:creator>
    <dc:date>2017-11-08T07:05:05Z</dc:date>
    <item>
      <title>Send email to multiple selected records from List</title>
      <link>https://www.servicenow.com/community/developer-forum/send-email-to-multiple-selected-records-from-list/m-p/2097012#M753938</link>
      <description>&lt;P&gt;Good day all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I created a new Application which will just be a database for records of companies. Communication to these companies will be a requirement especially bulk communication via email.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Requirement is to send bulk emails from List view of records after filtering the records to the ones we want the email to be sent to.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The email client UI Page should appear when selecting the List UI Action.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is my requirement in screenshots:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Select records in list and then choose UI Action.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="chrome_2017-11-08_08-54-26.png"&gt;&lt;img src="https://www.servicenow.com/community/image/serverpage/image-id/65947i50DEE6874B5E801B/image-size/large?v=v2&amp;amp;px=999" role="button" title="chrome_2017-11-08_08-54-26.png" alt="chrome_2017-11-08_08-54-26.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;UI Action should then query the email address field on all selected records and open the Email Client UI Page populating the BCC field with the email address of each selected record.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="chrome_2017-11-08_08-55-23.png"&gt;&lt;img src="https://www.servicenow.com/community/image/serverpage/image-id/65949i088F4B548B4D52FF/image-size/large?v=v2&amp;amp;px=999" role="button" title="chrome_2017-11-08_08-55-23.png" alt="chrome_2017-11-08_08-55-23.png" /&gt;&lt;/span&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Is this possible and what are my steps to create this? UI Action &amp;gt; Business Rule for query &amp;gt; Script include?&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Thank&lt;/STRONG&gt;&lt;STRONG&gt; you in advance&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Regards,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Johannes Coetsee&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 08 Nov 2017 07:05:05 GMT</pubDate>
      <guid>https://www.servicenow.com/community/developer-forum/send-email-to-multiple-selected-records-from-list/m-p/2097012#M753938</guid>
      <dc:creator>Johannes Coetse</dc:creator>
      <dc:date>2017-11-08T07:05:05Z</dc:date>
    </item>
    <item>
      <title>Re: Send email to multiple selected records from List</title>
      <link>https://www.servicenow.com/community/developer-forum/send-email-to-multiple-selected-records-from-list/m-p/2097013#M753939</link>
      <description>&lt;P&gt;I have already enabled the email client for my custom table and can send emails from the form view to single records&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 08 Nov 2017 07:06:37 GMT</pubDate>
      <guid>https://www.servicenow.com/community/developer-forum/send-email-to-multiple-selected-records-from-list/m-p/2097013#M753939</guid>
      <dc:creator>Johannes Coetse</dc:creator>
      <dc:date>2017-11-08T07:06:37Z</dc:date>
    </item>
    <item>
      <title>Re: Send email to multiple selected records from List</title>
      <link>https://www.servicenow.com/community/developer-forum/send-email-to-multiple-selected-records-from-list/m-p/2097014#M753940</link>
      <description>&lt;P&gt;I've managed to Query the email addresses using the UI Action with this UI Action script:&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;PRE __default_attr="javascript" __jive_macro_name="code" class="_jivemacro_uid_1510136184566820 jive_macro_code jive_text_macro" data-renderedposition="50_8_1175_96" jivemacro_uid="_1510136184566820" modifiedtitle="true"&gt;&lt;P&gt;var gr = new GlideRecord("table_name");&lt;/P&gt;&lt;BR /&gt;&lt;P&gt; &amp;nbsp; gr.addQuery("u_email_address_1", current.u_email_address_1); &lt;/P&gt;&lt;BR /&gt;&lt;P&gt; &amp;nbsp; gr.query();&lt;/P&gt;&lt;BR /&gt;&lt;P&gt; &amp;nbsp; if (gr.next()) {&lt;/P&gt;&lt;BR /&gt;&lt;P&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; gs.addInfoMessage(gr.u_email_address_1);&lt;/P&gt;&lt;BR /&gt;&lt;P&gt; &amp;nbsp; }&lt;/P&gt;&lt;BR /&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;Next step is to open the Email Client UI Page with all the email addresses inserted into the BCC field.&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;UI Action can only call one function at a time form what I can see....&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;STRONG&gt;Select records and click UI Action&lt;/STRONG&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="firefox_2017-11-08_12-19-49.png"&gt;&lt;img src="https://www.servicenow.com/community/image/serverpage/image-id/65943iE59959D63D69054B/image-size/large?v=v2&amp;amp;px=999" role="button" title="firefox_2017-11-08_12-19-49.png" alt="firefox_2017-11-08_12-19-49.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;STRONG&gt;Info message displays field values&lt;/STRONG&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;STRONG&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="firefox_2017-11-08_12-20-05.png"&gt;&lt;img src="https://www.servicenow.com/community/image/serverpage/image-id/65944iAAAFEBEF92AC75A3/image-size/large?v=v2&amp;amp;px=999" role="button" title="firefox_2017-11-08_12-20-05.png" alt="firefox_2017-11-08_12-20-05.png" /&gt;&lt;/span&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 08 Nov 2017 10:22:01 GMT</pubDate>
      <guid>https://www.servicenow.com/community/developer-forum/send-email-to-multiple-selected-records-from-list/m-p/2097014#M753940</guid>
      <dc:creator>Johannes Coetse</dc:creator>
      <dc:date>2017-11-08T10:22:01Z</dc:date>
    </item>
    <item>
      <title>Re: Send email to multiple selected records from List</title>
      <link>https://www.servicenow.com/community/developer-forum/send-email-to-multiple-selected-records-from-list/m-p/2097015#M753941</link>
      <description>&lt;P&gt;It seems nobody has had this functionality requirement &lt;SPAN __jive_emoticon_name="sad" __jive_macro_name="emoticon" class="jive_macro_emoticon jive_emote jive_macro" data-renderedposition="8_350.40625_16_16" src="https://www.servicenow.com/8.0.4.21bdc7e/images/emoticons/sad.png"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;I've been able to get a workaround by using two new form fields and a workflow with notification but still lack ability to attach files to the notification.&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;I've also realised the BCC populate will not work. Would require the email to rather loop through all selected records and insert the Number into the Subject line and then only the subject details and body so that the receiver of email can reply back with the watermark related to the relevant record. &lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 10 Nov 2017 06:26:34 GMT</pubDate>
      <guid>https://www.servicenow.com/community/developer-forum/send-email-to-multiple-selected-records-from-list/m-p/2097015#M753941</guid>
      <dc:creator>Johannes Coetse</dc:creator>
      <dc:date>2017-11-10T06:26:34Z</dc:date>
    </item>
    <item>
      <title>Re: Send email to multiple selected records from List</title>
      <link>https://www.servicenow.com/community/developer-forum/send-email-to-multiple-selected-records-from-list/m-p/2097016#M753942</link>
      <description>&lt;P&gt;Hi Johannes,&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;Where you want this option. Is it your custom table and which field refers to User record so that we can fetch email Id.&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;Thank you,&lt;BR /&gt;Ashutosh Munot&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 10 Nov 2017 08:43:22 GMT</pubDate>
      <guid>https://www.servicenow.com/community/developer-forum/send-email-to-multiple-selected-records-from-list/m-p/2097016#M753942</guid>
      <dc:creator>Ashutosh Munot1</dc:creator>
      <dc:date>2017-11-10T08:43:22Z</dc:date>
    </item>
    <item>
      <title>Re: Send email to multiple selected records from List</title>
      <link>https://www.servicenow.com/community/developer-forum/send-email-to-multiple-selected-records-from-list/m-p/2097017#M753943</link>
      <description>&lt;P&gt;Hi Ashutosh,&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;This is a custom table yes.&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;The email address is actually on the record's table itself. &lt;/P&gt;&lt;BR /&gt;&lt;P&gt;There are 3 email addresses on the table but only require to send to the primary contact email address which is &lt;EM&gt;table.u_email_address_1 &lt;/EM&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;The records on the table is just a database of 3rd party companies. The companies do not login to ServiceNow at this stage and all the company records are updated by a single administrator. These companies were all in a Excel doc. &lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;In future the application will be changed so that these Companies can actually login to SN and update their own details but for phase 1 it's just a collection of records.&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;Let me know what additional info you need.&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;It seems I'll need to create a UI Page which links to the sys_email table's subject and body. Then query all the selected record's email address field and finally call a email template for the dynamic values like Company name and company record number (for watermark) then combine the UI Page inputs with the template and loop through all the records sending the email out.&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 10 Nov 2017 11:31:01 GMT</pubDate>
      <guid>https://www.servicenow.com/community/developer-forum/send-email-to-multiple-selected-records-from-list/m-p/2097017#M753943</guid>
      <dc:creator>Johannes Coetse</dc:creator>
      <dc:date>2017-11-10T11:31:01Z</dc:date>
    </item>
    <item>
      <title>Re: Send email to multiple selected records from List</title>
      <link>https://www.servicenow.com/community/developer-forum/send-email-to-multiple-selected-records-from-list/m-p/2097018#M753944</link>
      <description>&lt;P&gt;How the form looks. Email address to be used for bulk email sending is the top one.&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="firefox_2017-11-10_13-33-03.png"&gt;&lt;img src="https://www.servicenow.com/community/image/serverpage/image-id/65946i7E97B89497ABCBF6/image-size/large?v=v2&amp;amp;px=999" role="button" title="firefox_2017-11-10_13-33-03.png" alt="firefox_2017-11-10_13-33-03.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 10 Nov 2017 11:34:02 GMT</pubDate>
      <guid>https://www.servicenow.com/community/developer-forum/send-email-to-multiple-selected-records-from-list/m-p/2097018#M753944</guid>
      <dc:creator>Johannes Coetse</dc:creator>
      <dc:date>2017-11-10T11:34:02Z</dc:date>
    </item>
    <item>
      <title>Re: Send email to multiple selected records from List</title>
      <link>https://www.servicenow.com/community/developer-forum/send-email-to-multiple-selected-records-from-list/m-p/2097019#M753945</link>
      <description>&lt;P&gt;We have abandoned this for now.&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 02 Feb 2018 06:23:07 GMT</pubDate>
      <guid>https://www.servicenow.com/community/developer-forum/send-email-to-multiple-selected-records-from-list/m-p/2097019#M753945</guid>
      <dc:creator>Johannes Coetse</dc:creator>
      <dc:date>2018-02-02T06:23:07Z</dc:date>
    </item>
  </channel>
</rss>

