<?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: Comma separated values not returning from script include to client script in ServiceNow AI Platform forum</title>
    <link>https://www.servicenow.com/community/servicenow-ai-platform-forum/comma-separated-values-not-returning-from-script-include-to/m-p/1137207#M93596</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;since you informed the row count is 0 so it means the query is not happening&lt;/P&gt;
&lt;P&gt;the variable colleagues1 is string type and holds the name so you should query with the &lt;STRONG&gt;name&lt;/STRONG&gt; field&lt;/P&gt;
&lt;P&gt;Did you check exact name is present in the sys_user table&lt;/P&gt;
&lt;P&gt;getEmailSharePoint: function(){&lt;BR /&gt;&lt;BR /&gt;var userName = this.getParameter('sysparm_s');&lt;BR /&gt;&lt;BR /&gt;var arr = userName.toString().split(',');&lt;BR /&gt;&lt;BR /&gt;var arr1 = [];&lt;BR /&gt;&lt;BR /&gt;var userRec = new GlideRecord('sys_user');&lt;BR /&gt;&lt;BR /&gt;userRec.addActiveQuery();&lt;BR /&gt;&lt;BR /&gt;userRec.addQuery('&lt;STRONG&gt;name&lt;/STRONG&gt;', 'IN', arr);&lt;STRONG&gt; // see change here&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;userRec.query();&lt;BR /&gt;&lt;BR /&gt;gs.info('Row Count is' + userRec.getRowCount());&lt;BR /&gt;&lt;BR /&gt;while(userRec.next()){&lt;BR /&gt;&lt;BR /&gt;arr1.push(userRec.email.toString());&lt;BR /&gt;&lt;BR /&gt;}&lt;BR /&gt;&lt;BR /&gt;gs.info('Array of email is' + arr1.toString());&lt;BR /&gt;&lt;BR /&gt;return arr1.toString();&lt;BR /&gt;&lt;BR /&gt;},&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;Regards&lt;BR /&gt;Ankur&lt;/P&gt;</description>
    <pubDate>Tue, 29 Sep 2020 11:09:52 GMT</pubDate>
    <dc:creator>Ankur Bawiskar</dc:creator>
    <dc:date>2020-09-29T11:09:52Z</dc:date>
    <item>
      <title>Comma separated values not returning from script include to client script</title>
      <link>https://www.servicenow.com/community/servicenow-ai-platform-forum/comma-separated-values-not-returning-from-script-include-to/m-p/1137196#M93585</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;
&lt;P&gt;I have a string variable where users enter names by comma separating( field name - colleagues1) and i have another variable which will store the email address of those names by comma separated.&lt;/P&gt;
&lt;P&gt;I wrote a catalog client script and script include for this. It worked fine when the variable (colleagues1) where users are selected is a list collector but if the variable is a string, it isnt going in the loop and always just returning email address of 1st user selected.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please find the script include -&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/117665iE836233CFE29A1A7/image-size/large?v=v2&amp;amp;px=999" role="button" title="find_real_file.png" alt="find_real_file.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;I checked, the values are coming correctly from client script and the for loop is also running fine.&lt;/P&gt;
&lt;P&gt;Works first time, but subsequently, it isn't going to else condition&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 15:49:49 GMT</pubDate>
      <guid>https://www.servicenow.com/community/servicenow-ai-platform-forum/comma-separated-values-not-returning-from-script-include-to/m-p/1137196#M93585</guid>
      <dc:creator>Chenab Khanna</dc:creator>
      <dc:date>2020-09-28T15:49:49Z</dc:date>
    </item>
    <item>
      <title>Re: Comma separated values not returning from script include to client script</title>
      <link>https://www.servicenow.com/community/servicenow-ai-platform-forum/comma-separated-values-not-returning-from-script-include-to/m-p/1137197#M93586</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;please update script as below&lt;/P&gt;
&lt;PRE class="language-javascript"&gt;&lt;CODE&gt;getEmailSharePoint: function(){

var userName = this.getParameter('sysparm_s');

var arr = userName.toString().split(',');

var arr1 = [];

var userRec = new GlideRecord('sys_user');

userRec.addActiveQuery();

userRec.addQuery('email', 'IN', arr);

userRec.query();

while(userRec.next()){

arr1.push(userRec.email.toString());

}

return arr1.toString();

},&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Regards&lt;BR /&gt;Ankur&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 16:03:51 GMT</pubDate>
      <guid>https://www.servicenow.com/community/servicenow-ai-platform-forum/comma-separated-values-not-returning-from-script-include-to/m-p/1137197#M93586</guid>
      <dc:creator>Ankur Bawiskar</dc:creator>
      <dc:date>2020-09-28T16:03:51Z</dc:date>
    </item>
    <item>
      <title>Re: Comma separated values not returning from script include to client script</title>
      <link>https://www.servicenow.com/community/servicenow-ai-platform-forum/comma-separated-values-not-returning-from-script-include-to/m-p/1137198#M93587</link>
      <description>&lt;P&gt;Its giving blank value&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 07:59:15 GMT</pubDate>
      <guid>https://www.servicenow.com/community/servicenow-ai-platform-forum/comma-separated-values-not-returning-from-script-include-to/m-p/1137198#M93587</guid>
      <dc:creator>Chenab Khanna</dc:creator>
      <dc:date>2020-09-29T07:59:15Z</dc:date>
    </item>
    <item>
      <title>Re: Comma separated values not returning from script include to client script</title>
      <link>https://www.servicenow.com/community/servicenow-ai-platform-forum/comma-separated-values-not-returning-from-script-include-to/m-p/1137199#M93588</link>
      <description>&lt;P&gt;Hi Chenab,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Can you replace&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;if(i==0)&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;{&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;gp=gr.email;}&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;else&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;{&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;gp=gp+','+gr.email;}&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;with&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;gp=gr.email+','+gp;&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Also,&lt;EM&gt; var gp=''; &lt;/EM&gt;instead of&lt;EM&gt; var gp=' ';&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 08:22:43 GMT</pubDate>
      <guid>https://www.servicenow.com/community/servicenow-ai-platform-forum/comma-separated-values-not-returning-from-script-include-to/m-p/1137199#M93588</guid>
      <dc:creator>Jaspal Singh</dc:creator>
      <dc:date>2020-09-29T08:22:43Z</dc:date>
    </item>
    <item>
      <title>Re: Comma separated values not returning from script include to client script</title>
      <link>https://www.servicenow.com/community/servicenow-ai-platform-forum/comma-separated-values-not-returning-from-script-include-to/m-p/1137200#M93589</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;Did you check the query is getting satisfied or not&lt;/P&gt;
&lt;P&gt;please share your complete script for reference&lt;/P&gt;
&lt;P&gt;Try adding logs&lt;/P&gt;
&lt;P&gt;getEmailSharePoint: function(){&lt;BR /&gt;&lt;BR /&gt;var userName = this.getParameter('sysparm_s');&lt;BR /&gt;&lt;BR /&gt;var arr = userName.toString().split(',');&lt;BR /&gt;&lt;BR /&gt;var arr1 = [];&lt;BR /&gt;&lt;BR /&gt;var userRec = new GlideRecord('sys_user');&lt;BR /&gt;&lt;BR /&gt;userRec.addActiveQuery();&lt;BR /&gt;&lt;BR /&gt;userRec.addQuery('email', 'IN', arr);&lt;BR /&gt;&lt;BR /&gt;userRec.query();&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;gs.info('Row Count is' + userRec.getRowCount());&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;while(userRec.next()){&lt;BR /&gt;&lt;BR /&gt;arr1.push(userRec.email.toString());&lt;BR /&gt;&lt;BR /&gt;}&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;gs.info('Array of email is' + arr1.toString());&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;return arr1.toString();&lt;BR /&gt;&lt;BR /&gt;},&lt;/P&gt;
&lt;P&gt;Regards&lt;BR /&gt;Ankur&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 08:49:02 GMT</pubDate>
      <guid>https://www.servicenow.com/community/servicenow-ai-platform-forum/comma-separated-values-not-returning-from-script-include-to/m-p/1137200#M93589</guid>
      <dc:creator>Ankur Bawiskar</dc:creator>
      <dc:date>2020-09-29T08:49:02Z</dc:date>
    </item>
    <item>
      <title>Re: Comma separated values not returning from script include to client script</title>
      <link>https://www.servicenow.com/community/servicenow-ai-platform-forum/comma-separated-values-not-returning-from-script-include-to/m-p/1137201#M93590</link>
      <description>&lt;P&gt;Hi.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I&amp;nbsp; checked the row count is 0. Please find the script -&amp;nbsp;&lt;/P&gt;
&lt;P&gt;var FetchEmailSharePoint = Class.create();&lt;BR /&gt;FetchEmailSharePoint.prototype = Object.extendsObject(AbstractAjaxProcessor, {&lt;BR /&gt; getEmailSharePoint: function() {&lt;BR /&gt; var gp = ' ';&lt;BR /&gt; var ar = [];&lt;/P&gt;
&lt;P&gt;var userName = this.getParameter('sysparm_s');&lt;BR /&gt; var count = userName.toString().split(',');&lt;BR /&gt; &lt;BR /&gt; // for (var i = 0; i &amp;lt; count.length; i++) {&lt;/P&gt;
&lt;P&gt;var gr = new GlideRecord('sys_user');&lt;BR /&gt; gr.addActiveQuery();&lt;BR /&gt; gr.addQuery('name', 'IN', count);&lt;BR /&gt; gr.addQuery('email', 'CONTAINS', '@companyemail'); //the email ids should contain a //specific text&lt;BR /&gt; gr.query();&lt;BR /&gt; gs.log("row count " + gr.getRowCount());&lt;BR /&gt; while (gr.next()) {&lt;BR /&gt; //ar.push(gr.email);&lt;/P&gt;
&lt;P&gt;/* if (i == 0) {&lt;BR /&gt; gp = gr.email;&lt;BR /&gt; }&lt;BR /&gt; else{&lt;BR /&gt; gs.log("else condn "+gp);&lt;BR /&gt; gp = gp + ',' + gr.email;&lt;BR /&gt; }*/&lt;BR /&gt; ar.push(gr.email.toString());&lt;BR /&gt; }&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt; // gs.log("finish array "+ar.join(','));&lt;BR /&gt; // return gp;&lt;BR /&gt; gs.log("return value " + ar.toString());&lt;BR /&gt; return ar.toString();&lt;BR /&gt; },&lt;BR /&gt; type: 'FetchEmailSharePoint'&lt;BR /&gt;});&lt;/P&gt;
&lt;P&gt;One thing, the value coming from client script (sysparm_s) contains names of users by comma separated.&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 09:15:18 GMT</pubDate>
      <guid>https://www.servicenow.com/community/servicenow-ai-platform-forum/comma-separated-values-not-returning-from-script-include-to/m-p/1137201#M93590</guid>
      <dc:creator>Chenab Khanna</dc:creator>
      <dc:date>2020-09-29T09:15:18Z</dc:date>
    </item>
    <item>
      <title>Re: Comma separated values not returning from script include to client script</title>
      <link>https://www.servicenow.com/community/servicenow-ai-platform-forum/comma-separated-values-not-returning-from-script-include-to/m-p/1137202#M93591</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;are those values the name field of sys_user then the script shared by me should work fine&lt;/P&gt;
&lt;P&gt;Regards&lt;BR /&gt;Ankur&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 09:49:29 GMT</pubDate>
      <guid>https://www.servicenow.com/community/servicenow-ai-platform-forum/comma-separated-values-not-returning-from-script-include-to/m-p/1137202#M93591</guid>
      <dc:creator>Ankur Bawiskar</dc:creator>
      <dc:date>2020-09-29T09:49:29Z</dc:date>
    </item>
    <item>
      <title>Re: Comma separated values not returning from script include to client script</title>
      <link>https://www.servicenow.com/community/servicenow-ai-platform-forum/comma-separated-values-not-returning-from-script-include-to/m-p/1137203#M93592</link>
      <description>&lt;P&gt;Hi. I am getting blank -&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/117660iE64EF5DF1F5B4B80/image-size/large?v=v2&amp;amp;px=999" role="button" title="find_real_file.png" alt="find_real_file.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Email ids for add members field should give email ids of those 3 names.&lt;/P&gt;
&lt;P&gt;Also, row count returned 0&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 09:58:53 GMT</pubDate>
      <guid>https://www.servicenow.com/community/servicenow-ai-platform-forum/comma-separated-values-not-returning-from-script-include-to/m-p/1137203#M93592</guid>
      <dc:creator>Chenab Khanna</dc:creator>
      <dc:date>2020-09-29T09:58:53Z</dc:date>
    </item>
    <item>
      <title>Re: Comma separated values not returning from script include to client script</title>
      <link>https://www.servicenow.com/community/servicenow-ai-platform-forum/comma-separated-values-not-returning-from-script-include-to/m-p/1137204#M93593</link>
      <description>&lt;P&gt;No Luck&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 10:36:12 GMT</pubDate>
      <guid>https://www.servicenow.com/community/servicenow-ai-platform-forum/comma-separated-values-not-returning-from-script-include-to/m-p/1137204#M93593</guid>
      <dc:creator>Chenab Khanna</dc:creator>
      <dc:date>2020-09-29T10:36:12Z</dc:date>
    </item>
    <item>
      <title>Re: Comma separated values not returning from script include to client script</title>
      <link>https://www.servicenow.com/community/servicenow-ai-platform-forum/comma-separated-values-not-returning-from-script-include-to/m-p/1137205#M93594</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;are you using the script I shared or the one which you posted in the question&lt;/P&gt;
&lt;P&gt;if you are using script I shared please share complete client script and script include function&lt;/P&gt;
&lt;P&gt;Regards&lt;BR /&gt;Ankur&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 10:51:20 GMT</pubDate>
      <guid>https://www.servicenow.com/community/servicenow-ai-platform-forum/comma-separated-values-not-returning-from-script-include-to/m-p/1137205#M93594</guid>
      <dc:creator>Ankur Bawiskar</dc:creator>
      <dc:date>2020-09-29T10:51:20Z</dc:date>
    </item>
    <item>
      <title>Re: Comma separated values not returning from script include to client script</title>
      <link>https://www.servicenow.com/community/servicenow-ai-platform-forum/comma-separated-values-not-returning-from-script-include-to/m-p/1137206#M93595</link>
      <description>&lt;P&gt;I used the one you shared.&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/117657i2F60D800CD3AA040/image-size/large?v=v2&amp;amp;px=999" 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, 29 Sep 2020 10:53:44 GMT</pubDate>
      <guid>https://www.servicenow.com/community/servicenow-ai-platform-forum/comma-separated-values-not-returning-from-script-include-to/m-p/1137206#M93595</guid>
      <dc:creator>Chenab Khanna</dc:creator>
      <dc:date>2020-09-29T10:53:44Z</dc:date>
    </item>
    <item>
      <title>Re: Comma separated values not returning from script include to client script</title>
      <link>https://www.servicenow.com/community/servicenow-ai-platform-forum/comma-separated-values-not-returning-from-script-include-to/m-p/1137207#M93596</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;since you informed the row count is 0 so it means the query is not happening&lt;/P&gt;
&lt;P&gt;the variable colleagues1 is string type and holds the name so you should query with the &lt;STRONG&gt;name&lt;/STRONG&gt; field&lt;/P&gt;
&lt;P&gt;Did you check exact name is present in the sys_user table&lt;/P&gt;
&lt;P&gt;getEmailSharePoint: function(){&lt;BR /&gt;&lt;BR /&gt;var userName = this.getParameter('sysparm_s');&lt;BR /&gt;&lt;BR /&gt;var arr = userName.toString().split(',');&lt;BR /&gt;&lt;BR /&gt;var arr1 = [];&lt;BR /&gt;&lt;BR /&gt;var userRec = new GlideRecord('sys_user');&lt;BR /&gt;&lt;BR /&gt;userRec.addActiveQuery();&lt;BR /&gt;&lt;BR /&gt;userRec.addQuery('&lt;STRONG&gt;name&lt;/STRONG&gt;', 'IN', arr);&lt;STRONG&gt; // see change here&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;userRec.query();&lt;BR /&gt;&lt;BR /&gt;gs.info('Row Count is' + userRec.getRowCount());&lt;BR /&gt;&lt;BR /&gt;while(userRec.next()){&lt;BR /&gt;&lt;BR /&gt;arr1.push(userRec.email.toString());&lt;BR /&gt;&lt;BR /&gt;}&lt;BR /&gt;&lt;BR /&gt;gs.info('Array of email is' + arr1.toString());&lt;BR /&gt;&lt;BR /&gt;return arr1.toString();&lt;BR /&gt;&lt;BR /&gt;},&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;Regards&lt;BR /&gt;Ankur&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 11:09:52 GMT</pubDate>
      <guid>https://www.servicenow.com/community/servicenow-ai-platform-forum/comma-separated-values-not-returning-from-script-include-to/m-p/1137207#M93596</guid>
      <dc:creator>Ankur Bawiskar</dc:creator>
      <dc:date>2020-09-29T11:09:52Z</dc:date>
    </item>
    <item>
      <title>Re: Comma separated values not returning from script include to client script</title>
      <link>https://www.servicenow.com/community/servicenow-ai-platform-forum/comma-separated-values-not-returning-from-script-include-to/m-p/1137208#M93597</link>
      <description>&lt;P&gt;Its still 0 &lt;SN-MENTION class="sn-mention" table="live_profile" sysid="19525629dbd81fc09c9ffb651f961989"&gt;@Ankur Bawiskar&lt;/SN-MENTION&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I tried below script include -&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/117662i6BA754A6D3083E63/image-size/large?v=v2&amp;amp;px=999" role="button" title="find_real_file.png" alt="find_real_file.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;TThis works fine for first name. I am able to get email id of first user name i have put but unable to get subesquent. I checked, loop is running fine. I am even getting count[i] separately but not why it get stuck inside while. I tried putting if instead of that while but still not working&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 11:29:12 GMT</pubDate>
      <guid>https://www.servicenow.com/community/servicenow-ai-platform-forum/comma-separated-values-not-returning-from-script-include-to/m-p/1137208#M93597</guid>
      <dc:creator>Chenab Khanna</dc:creator>
      <dc:date>2020-09-29T11:29:12Z</dc:date>
    </item>
    <item>
      <title>Re: Comma separated values not returning from script include to client script</title>
      <link>https://www.servicenow.com/community/servicenow-ai-platform-forum/comma-separated-values-not-returning-from-script-include-to/m-p/1137209#M93598</link>
      <description>&lt;P&gt;Hi Chenab,&lt;/P&gt;
&lt;P&gt;Try playing around with the addQuery which could be causing the issue.&lt;/P&gt;
&lt;P&gt;gr.addActiveQuery();&lt;BR /&gt;&lt;STRONG&gt;//gr.addQuery('name', 'IN', count); //comment this&lt;/STRONG&gt;&lt;BR /&gt;gr.addQuery('email', 'CONTAINS', '@companyemail');&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 11:29:56 GMT</pubDate>
      <guid>https://www.servicenow.com/community/servicenow-ai-platform-forum/comma-separated-values-not-returning-from-script-include-to/m-p/1137209#M93598</guid>
      <dc:creator>Sajilal</dc:creator>
      <dc:date>2020-09-29T11:29:56Z</dc:date>
    </item>
    <item>
      <title>Re: Comma separated values not returning from script include to client script</title>
      <link>https://www.servicenow.com/community/servicenow-ai-platform-forum/comma-separated-values-not-returning-from-script-include-to/m-p/1137210#M93599</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;might be some space in the name&lt;/P&gt;
&lt;P&gt;please try this and trim the value&lt;/P&gt;
&lt;P&gt;gr.addQuery('name', count[i].&lt;STRONG&gt;trim()&lt;/STRONG&gt;);&lt;/P&gt;
&lt;P&gt;Also did you check those users are having the email with @ whatever your query is&lt;/P&gt;
&lt;P&gt;Regards&lt;BR /&gt;Ankur&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 11:47:42 GMT</pubDate>
      <guid>https://www.servicenow.com/community/servicenow-ai-platform-forum/comma-separated-values-not-returning-from-script-include-to/m-p/1137210#M93599</guid>
      <dc:creator>Ankur Bawiskar</dc:creator>
      <dc:date>2020-09-29T11:47:42Z</dc:date>
    </item>
    <item>
      <title>Re: Comma separated values not returning from script include to client script</title>
      <link>https://www.servicenow.com/community/servicenow-ai-platform-forum/comma-separated-values-not-returning-from-script-include-to/m-p/1137211#M93600</link>
      <description>&lt;P&gt;It works now. Thanks&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 12:00:06 GMT</pubDate>
      <guid>https://www.servicenow.com/community/servicenow-ai-platform-forum/comma-separated-values-not-returning-from-script-include-to/m-p/1137211#M93600</guid>
      <dc:creator>Chenab Khanna</dc:creator>
      <dc:date>2020-09-29T12:00:06Z</dc:date>
    </item>
    <item>
      <title>Re: Comma separated values not returning from script include to client script</title>
      <link>https://www.servicenow.com/community/servicenow-ai-platform-forum/comma-separated-values-not-returning-from-script-include-to/m-p/1137212#M93601</link>
      <description>&lt;P&gt;&lt;SN-MENTION class="sn-mention" table="live_profile" sysid="1e91582edbd56780b1b102d5ca9619db"&gt;@Chenab Khanna&lt;/SN-MENTION&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Nice to know.&lt;/P&gt;
&lt;P&gt;Please mark my response as correct and helpful to close the thread so that others can be benefited by this.&lt;/P&gt;
&lt;P&gt;Happy learning.&lt;/P&gt;
&lt;P&gt;Regards&lt;BR /&gt;Ankur&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 12:05:05 GMT</pubDate>
      <guid>https://www.servicenow.com/community/servicenow-ai-platform-forum/comma-separated-values-not-returning-from-script-include-to/m-p/1137212#M93601</guid>
      <dc:creator>Ankur Bawiskar</dc:creator>
      <dc:date>2020-09-29T12:05:05Z</dc:date>
    </item>
  </channel>
</rss>

