<?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 to retrieve multi row variable set data in form of record pills in flow designer. in Developer forum</title>
    <link>https://www.servicenow.com/community/developer-forum/how-to-retrieve-multi-row-variable-set-data-in-form-of-record/m-p/2868869#M1096133</link>
    <description>&lt;P&gt;I understand what you are trying to do, but do you really think it's the best approach? I select 5 different users to be added to 3 groups (so 15 lines) and as approver I can only say 'ok' for all, because that's the only approval record I get. I don't want one of them in the group, so none of them get in there? I believe every entry should be approved separately. And yes, that cause multiple approval records/emails to be send, but that's how it should be, right?&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 19 Mar 2024 06:49:40 GMT</pubDate>
    <dc:creator>Mark Manders</dc:creator>
    <dc:date>2024-03-19T06:49:40Z</dc:date>
    <item>
      <title>How to retrieve multi row variable set data in form of record pills in flow designer.</title>
      <link>https://www.servicenow.com/community/developer-forum/how-to-retrieve-multi-row-variable-set-data-in-form-of-record/m-p/2867402#M1095755</link>
      <description>&lt;P&gt;Hey everyone,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I recently made a catalog item to add /remove multiple users from assignment group. Below is the image of that flow&lt;/P&gt;&lt;P&gt;In this i am checking what role the groups has based on that i am sending out approvals and then based on approvals adding users to the assignment group.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="PriyanshuVerma1_1-1710757716785.png" style="width: 400px;"&gt;&lt;img src="https://www.servicenow.com/community/image/serverpage/image-id/339924i544ED5527CCE9B21/image-size/medium?v=v2&amp;amp;px=400" role="button" title="PriyanshuVerma1_1-1710757716785.png" alt="PriyanshuVerma1_1-1710757716785.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;The requirement now is to add multiple users to multiple groups. I believe i can use multi row variable set in catalog item.&lt;/P&gt;&lt;P&gt;We can use for each action and look up record to iterate through multi row variable set(array.object) and pull out information about user and group given as input.&lt;/P&gt;&lt;P&gt;I want to add ask for approval action and send approval, but using for each action if there are 5 users getting added to single group, then it will send approval to group manager 5 times.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="PriyanshuVerma1_2-1710758364654.png" style="width: 400px;"&gt;&lt;img src="https://www.servicenow.com/community/image/serverpage/image-id/339929iC177D2ED7495BADF/image-size/medium?v=v2&amp;amp;px=400" role="button" title="PriyanshuVerma1_2-1710758364654.png" alt="PriyanshuVerma1_2-1710758364654.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want to send one approval per group, no matter how many members are getting added to it like I was able to do in screenshot 1 when I was adding multiple users to single group.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there a way I can get values from Multi row variable set values in flow designer and use them like data pills?&lt;/P&gt;&lt;P&gt;Or get unique group values in an array, that i can iterate through to send approvals to group managers.&lt;/P&gt;&lt;P&gt;By unique group value i mean : if we enter 5 user and out of these two users are getting added to same group, then in array we should have 4 group names in our new array.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="PriyanshuVerma1_0-1710765907290.png" style="width: 400px;"&gt;&lt;img src="https://www.servicenow.com/community/image/serverpage/image-id/339966i8F06913A83B77587/image-size/medium?v=v2&amp;amp;px=400" role="button" title="PriyanshuVerma1_0-1710765907290.png" alt="PriyanshuVerma1_0-1710765907290.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Or there is any better approach i can follow to achieve the same goal.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 18 Mar 2024 12:46:11 GMT</pubDate>
      <guid>https://www.servicenow.com/community/developer-forum/how-to-retrieve-multi-row-variable-set-data-in-form-of-record/m-p/2867402#M1095755</guid>
      <dc:creator>PriyanshuVerma1</dc:creator>
      <dc:date>2024-03-18T12:46:11Z</dc:date>
    </item>
    <item>
      <title>Re: How to retrieve multi row variable set data in form of record pills in flow designer.</title>
      <link>https://www.servicenow.com/community/developer-forum/how-to-retrieve-multi-row-variable-set-data-in-form-of-record/m-p/2867610#M1095801</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://www.servicenow.com/community/user/viewprofilepage/user-id/541906"&gt;@PriyanshuVerma1&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Below posts could be helpful :&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.servicenow.com/community/workflow-automation-articles/how-to-use-multirow-variable-sets-mrvs-in-flow-designer/ta-p/2406608" target="_blank"&gt;https://www.servicenow.com/community/workflow-automation-articles/how-to-use-multirow-variable-sets-mrvs-in-flow-designer/ta-p/2406608&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.servicenow.com/community/now-platform-forum/how-do-i-iterate-through-a-multi-row-variable-set-in-flow/m-p/1106790" target="_blank"&gt;https://www.servicenow.com/community/now-platform-forum/how-do-i-iterate-through-a-multi-row-variable-set-in-flow/m-p/1106790&lt;/A&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;Amit Verma&lt;/P&gt;</description>
      <pubDate>Mon, 18 Mar 2024 12:07:50 GMT</pubDate>
      <guid>https://www.servicenow.com/community/developer-forum/how-to-retrieve-multi-row-variable-set-data-in-form-of-record/m-p/2867610#M1095801</guid>
      <dc:creator>vermaamit16</dc:creator>
      <dc:date>2024-03-18T12:07:50Z</dc:date>
    </item>
    <item>
      <title>Re: How to retrieve multi row variable set data in form of record pills in flow designer.</title>
      <link>https://www.servicenow.com/community/developer-forum/how-to-retrieve-multi-row-variable-set-data-in-form-of-record/m-p/2867640#M1095810</link>
      <description>&lt;P&gt;Thankyou, but they are doing the same thing I already did. As I mentioned if I use FOR EACH action, then i might need to send approval multiple times. I was trying to get unique group (like if there are two different users getting added to same group then only one time group value is pushed in array) from multi row variable. set values in some array So that I can use the new array to send approvalonly once per group&lt;/P&gt;</description>
      <pubDate>Mon, 18 Mar 2024 12:21:14 GMT</pubDate>
      <guid>https://www.servicenow.com/community/developer-forum/how-to-retrieve-multi-row-variable-set-data-in-form-of-record/m-p/2867640#M1095810</guid>
      <dc:creator>PriyanshuVerma1</dc:creator>
      <dc:date>2024-03-18T12:21:14Z</dc:date>
    </item>
    <item>
      <title>Re: How to retrieve multi row variable set data in form of record pills in flow designer.</title>
      <link>https://www.servicenow.com/community/developer-forum/how-to-retrieve-multi-row-variable-set-data-in-form-of-record/m-p/2868869#M1096133</link>
      <description>&lt;P&gt;I understand what you are trying to do, but do you really think it's the best approach? I select 5 different users to be added to 3 groups (so 15 lines) and as approver I can only say 'ok' for all, because that's the only approval record I get. I don't want one of them in the group, so none of them get in there? I believe every entry should be approved separately. And yes, that cause multiple approval records/emails to be send, but that's how it should be, right?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 19 Mar 2024 06:49:40 GMT</pubDate>
      <guid>https://www.servicenow.com/community/developer-forum/how-to-retrieve-multi-row-variable-set-data-in-form-of-record/m-p/2868869#M1096133</guid>
      <dc:creator>Mark Manders</dc:creator>
      <dc:date>2024-03-19T06:49:40Z</dc:date>
    </item>
    <item>
      <title>Re: How to retrieve multi row variable set data in form of record pills in flow designer.</title>
      <link>https://www.servicenow.com/community/developer-forum/how-to-retrieve-multi-row-variable-set-data-in-form-of-record/m-p/2869499#M1096334</link>
      <description>&lt;P&gt;Hey&amp;nbsp;&lt;a href="https://www.servicenow.com/community/user/viewprofilepage/user-id/7272"&gt;@Mark Manders&lt;/a&gt;&amp;nbsp;,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thankyou for replying to me. I believe what you are saying is correct but see there is another problem as well. I am attaching the screenshot of the flow i used earlier. I am trying to achieve something similar.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2024-03-19 151111.png" style="width: 999px;"&gt;&lt;img src="https://www.servicenow.com/community/image/serverpage/image-id/340347i93EC3D16FCC48423/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screenshot 2024-03-19 151111.png" alt="Screenshot 2024-03-19 151111.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;The approach that you are advising me to follow have a little flaw. Assume 5 users are there and 3 of them are getting added to same group, then 3 approvals will be sent to group manager using "For Each" action. Now I can add one if condition after each approval to check if it is approved and then use create record to add users in group.&lt;/P&gt;&lt;P&gt;Then what will happen is after each approval manager will get new approval if there are more than&amp;nbsp; 1 member.&amp;nbsp;&lt;/P&gt;&lt;P&gt;What my manager wants is not to bombard group managers with approval emails one by one as they go on approving.&amp;nbsp;&lt;/P&gt;&lt;P&gt;That's why I was hoping to send one approval to group managers, so that they can see the RITM and see who all users are getting added to their group&lt;/P&gt;</description>
      <pubDate>Tue, 19 Mar 2024 12:49:14 GMT</pubDate>
      <guid>https://www.servicenow.com/community/developer-forum/how-to-retrieve-multi-row-variable-set-data-in-form-of-record/m-p/2869499#M1096334</guid>
      <dc:creator>PriyanshuVerma1</dc:creator>
      <dc:date>2024-03-19T12:49:14Z</dc:date>
    </item>
    <item>
      <title>Re: How to retrieve multi row variable set data in form of record pills in flow designer.</title>
      <link>https://www.servicenow.com/community/developer-forum/how-to-retrieve-multi-row-variable-set-data-in-form-of-record/m-p/2869791#M1096414</link>
      <description>&lt;P&gt;Where is the flaw? You are describing that your manager wants one email for all users that need to be added to the group and that logic is flawed, because approval is either 'yes' or 'no' and not 'yes for her', 'no for him'.&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you are requiring approval for adding a user to a group, you should approve that for every single user. Too bad that someone asks it for 5 users at once. It will still get 5 approval records. The fact that you make it easier to request them by using MVRS is great, but the process should stay the same: approve the request of 1 user being added to your group.&lt;BR /&gt;&lt;BR /&gt;You could go around this and inactivate the approval emails. Just create a new one that is triggered once a day to tell an approver that there are approval records waiting for him to approve. Then they will just get one email, once a day, if there are records.&lt;/P&gt;</description>
      <pubDate>Tue, 19 Mar 2024 15:06:34 GMT</pubDate>
      <guid>https://www.servicenow.com/community/developer-forum/how-to-retrieve-multi-row-variable-set-data-in-form-of-record/m-p/2869791#M1096414</guid>
      <dc:creator>Mark Manders</dc:creator>
      <dc:date>2024-03-19T15:06:34Z</dc:date>
    </item>
  </channel>
</rss>

