<?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>topic RE: How to assign acending numbers in priority in work queue in Product Forum</title>
    <link>https://community.blueprism.com/t5/Product-Forum/How-to-assign-acending-numbers-in-priority-in-work-queue/m-p/46347#M2365</link>
    <description>Hi &lt;A class="user-content-mention" data-sign="@" data-contactkey="f639aa5c-19c0-47ef-b9bb-8a6006eb5137" data-tag-text="@Miya" href="https://community.blueprism.com/network/profile?UserKey=f639aa5c-19c0-47ef-b9bb-8a6006eb5137" data-itemmentionkey="c321c272-06b3-4e32-bb4c-ff139d32645b"&gt;@Miya&lt;/A&gt;,&lt;BR /&gt;&lt;BR /&gt;Create a logic to append Priority column inside your collection as shown below:&lt;BR /&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="25518.png"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/25646i4370CB174CB27D1D/image-size/large?v=v2&amp;amp;px=999" role="button" title="25518.png" alt="25518.png" /&gt;&lt;/span&gt;Once the Priority is available as column Name, then you can write the below logic to achieve the functionality:&lt;BR /&gt;&lt;BR /&gt;
&lt;UL&gt;
&lt;LI&gt;Loop through the &lt;STRONG&gt;TestData&lt;/STRONG&gt; collection (I am using TestData Collection in this example)&lt;/LI&gt;
&lt;/UL&gt;
&lt;span class="lia-inline-image-display-wrapper" image-alt="25519.png"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/25647iAEBDB0F0070418E0/image-size/large?v=v2&amp;amp;px=999" role="button" title="25519.png" alt="25519.png" /&gt;&lt;/span&gt;&lt;BR /&gt;
&lt;UL&gt;
&lt;LI&gt;Add row to the "&lt;STRONG&gt;QueueColl&lt;/STRONG&gt;". This will be the collection which we will be adding to the queue.&lt;/LI&gt;
&lt;/UL&gt;
&lt;span class="lia-inline-image-display-wrapper" image-alt="25520.png"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/25652i325A2DF2AB7FFF05/image-size/large?v=v2&amp;amp;px=999" role="button" title="25520.png" alt="25520.png" /&gt;&lt;/span&gt;&lt;BR /&gt;
&lt;UL&gt;
&lt;LI&gt;Copy the content of the TestData collection to QueueColl. Since the Start Row starts with 0 in a collection hence reducing 1 from it.&lt;/LI&gt;
&lt;/UL&gt;
&lt;span class="lia-inline-image-display-wrapper" image-alt="25521.png"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/25653i78E07C39DDA79B80/image-size/large?v=v2&amp;amp;px=999" role="button" title="25521.png" alt="25521.png" /&gt;&lt;/span&gt;&lt;BR /&gt;
&lt;UL&gt;
&lt;LI&gt;Adding data to the queue&lt;/LI&gt;
&lt;/UL&gt;
&lt;span class="lia-inline-image-display-wrapper" image-alt="25522.png"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/25654i65EC1590677985CF/image-size/large?v=v2&amp;amp;px=999" role="button" title="25522.png" alt="25522.png" /&gt;&lt;/span&gt;&lt;BR /&gt;
&lt;UL&gt;
&lt;LI&gt;Finally removing all rows from the QueueColl to loop through the second record.&lt;/LI&gt;
&lt;/UL&gt;
&lt;span class="lia-inline-image-display-wrapper" image-alt="25523.png"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/25655i232268A46E1873E2/image-size/large?v=v2&amp;amp;px=999" role="button" title="25523.png" alt="25523.png" /&gt;&lt;/span&gt;&lt;BR /&gt;Hope it helps !!
&lt;OL&gt;&lt;/OL&gt;&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Manpreet Kaur&lt;BR /&gt;Manager&lt;BR /&gt;Deloitte&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
    <pubDate>Thu, 15 Sep 2022 20:59:00 GMT</pubDate>
    <dc:creator>ManpreetKaur1</dc:creator>
    <dc:date>2022-09-15T20:59:00Z</dc:date>
    <item>
      <title>How to assign acending numbers in priority in work queue</title>
      <link>https://community.blueprism.com/t5/Product-Forum/How-to-assign-acending-numbers-in-priority-in-work-queue/m-p/46344#M2362</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp; I have a collection around some 15-20 rows have sorted&amp;nbsp; in the ascending order, i want to load them in the work queue with ascending priority eg: row1 --priority 1,row 2 priority 2 etc.. Can some one help on this scenario.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Arthi&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Miya&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Thu, 15 Sep 2022 16:38:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/How-to-assign-acending-numbers-in-priority-in-work-queue/m-p/46344#M2362</guid>
      <dc:creator>Miya</dc:creator>
      <dc:date>2022-09-15T16:38:00Z</dc:date>
    </item>
    <item>
      <title>RE: How to assign acending numbers in priority in work queue</title>
      <link>https://community.blueprism.com/t5/Product-Forum/How-to-assign-acending-numbers-in-priority-in-work-queue/m-p/46345#M2363</link>
      <description>Hello Miya,&lt;BR /&gt;&lt;BR /&gt;You can create a Number data item called Priority. Keep this number incrementing in your loop.&lt;BR /&gt;&lt;BR /&gt;In your Load Queue action pass this Data item in the Priority input parameter.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;This will keep incrementing your priority for each row and you will see items getting added to the queue with increasing priority order.&lt;BR /&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="25516.png"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/25648i2E65E8C6A185337F/image-size/large?v=v2&amp;amp;px=999" role="button" title="25516.png" alt="25516.png" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;If I was of assistance, please vote for it to be the "Best Answer".&lt;BR /&gt;&lt;BR /&gt;Thanks &amp;amp; Regards,&lt;BR /&gt;Tejaskumar Darji&lt;BR /&gt;Sr. Consultant-Technical Lead&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Thu, 15 Sep 2022 17:22:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/How-to-assign-acending-numbers-in-priority-in-work-queue/m-p/46345#M2363</guid>
      <dc:creator>Tejaskumar_Darji</dc:creator>
      <dc:date>2022-09-15T17:22:00Z</dc:date>
    </item>
    <item>
      <title>RE: How to assign acending numbers in priority in work queue</title>
      <link>https://community.blueprism.com/t5/Product-Forum/How-to-assign-acending-numbers-in-priority-in-work-queue/m-p/46346#M2364</link>
      <description>Hi,&lt;BR /&gt;&amp;nbsp; &amp;nbsp;Thank You for quick reply, i have 1 issue when i add, add to queue each time all the rows in the collection added for eg for priority 1, adds priority 1 to all the 15 rows my requirement is row 1 shd have priority1 and row 2 have priority 2etc&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Arthi&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Miya&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Thu, 15 Sep 2022 18:38:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/How-to-assign-acending-numbers-in-priority-in-work-queue/m-p/46346#M2364</guid>
      <dc:creator>Miya</dc:creator>
      <dc:date>2022-09-15T18:38:00Z</dc:date>
    </item>
    <item>
      <title>RE: How to assign acending numbers in priority in work queue</title>
      <link>https://community.blueprism.com/t5/Product-Forum/How-to-assign-acending-numbers-in-priority-in-work-queue/m-p/46347#M2365</link>
      <description>Hi &lt;A class="user-content-mention" data-sign="@" data-contactkey="f639aa5c-19c0-47ef-b9bb-8a6006eb5137" data-tag-text="@Miya" href="https://community.blueprism.com/network/profile?UserKey=f639aa5c-19c0-47ef-b9bb-8a6006eb5137" data-itemmentionkey="c321c272-06b3-4e32-bb4c-ff139d32645b"&gt;@Miya&lt;/A&gt;,&lt;BR /&gt;&lt;BR /&gt;Create a logic to append Priority column inside your collection as shown below:&lt;BR /&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="25518.png"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/25646i4370CB174CB27D1D/image-size/large?v=v2&amp;amp;px=999" role="button" title="25518.png" alt="25518.png" /&gt;&lt;/span&gt;Once the Priority is available as column Name, then you can write the below logic to achieve the functionality:&lt;BR /&gt;&lt;BR /&gt;
&lt;UL&gt;
&lt;LI&gt;Loop through the &lt;STRONG&gt;TestData&lt;/STRONG&gt; collection (I am using TestData Collection in this example)&lt;/LI&gt;
&lt;/UL&gt;
&lt;span class="lia-inline-image-display-wrapper" image-alt="25519.png"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/25647iAEBDB0F0070418E0/image-size/large?v=v2&amp;amp;px=999" role="button" title="25519.png" alt="25519.png" /&gt;&lt;/span&gt;&lt;BR /&gt;
&lt;UL&gt;
&lt;LI&gt;Add row to the "&lt;STRONG&gt;QueueColl&lt;/STRONG&gt;". This will be the collection which we will be adding to the queue.&lt;/LI&gt;
&lt;/UL&gt;
&lt;span class="lia-inline-image-display-wrapper" image-alt="25520.png"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/25652i325A2DF2AB7FFF05/image-size/large?v=v2&amp;amp;px=999" role="button" title="25520.png" alt="25520.png" /&gt;&lt;/span&gt;&lt;BR /&gt;
&lt;UL&gt;
&lt;LI&gt;Copy the content of the TestData collection to QueueColl. Since the Start Row starts with 0 in a collection hence reducing 1 from it.&lt;/LI&gt;
&lt;/UL&gt;
&lt;span class="lia-inline-image-display-wrapper" image-alt="25521.png"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/25653i78E07C39DDA79B80/image-size/large?v=v2&amp;amp;px=999" role="button" title="25521.png" alt="25521.png" /&gt;&lt;/span&gt;&lt;BR /&gt;
&lt;UL&gt;
&lt;LI&gt;Adding data to the queue&lt;/LI&gt;
&lt;/UL&gt;
&lt;span class="lia-inline-image-display-wrapper" image-alt="25522.png"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/25654i65EC1590677985CF/image-size/large?v=v2&amp;amp;px=999" role="button" title="25522.png" alt="25522.png" /&gt;&lt;/span&gt;&lt;BR /&gt;
&lt;UL&gt;
&lt;LI&gt;Finally removing all rows from the QueueColl to loop through the second record.&lt;/LI&gt;
&lt;/UL&gt;
&lt;span class="lia-inline-image-display-wrapper" image-alt="25523.png"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/25655i232268A46E1873E2/image-size/large?v=v2&amp;amp;px=999" role="button" title="25523.png" alt="25523.png" /&gt;&lt;/span&gt;&lt;BR /&gt;Hope it helps !!
&lt;OL&gt;&lt;/OL&gt;&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Manpreet Kaur&lt;BR /&gt;Manager&lt;BR /&gt;Deloitte&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Thu, 15 Sep 2022 20:59:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/How-to-assign-acending-numbers-in-priority-in-work-queue/m-p/46347#M2365</guid>
      <dc:creator>ManpreetKaur1</dc:creator>
      <dc:date>2022-09-15T20:59:00Z</dc:date>
    </item>
  </channel>
</rss>

