<?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: Adding priority to large input data in Product Forum</title>
    <link>https://community.blueprism.com/t5/Product-Forum/Adding-priority-to-large-input-data/m-p/93541#M43088</link>
    <description>Hi Sutirtha&lt;BR /&gt;Can you please elaborate the design layout ?&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Ravi Singh&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Ravi Singh&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
    <pubDate>Sat, 02 Nov 2019 12:34:00 GMT</pubDate>
    <dc:creator>RaviSingh4</dc:creator>
    <dc:date>2019-11-02T12:34:00Z</dc:date>
    <item>
      <title>Adding priority to large input data</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Adding-priority-to-large-input-data/m-p/93537#M43084</link>
      <description>Hi everyone,&lt;BR /&gt;I know how to use OLEDB to fetch large data from excel into a collection but how could I add 10K or more data from excel to a work queue with priority without looping them one by one ?&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Ravi Singh&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Mon, 28 Oct 2019 05:35:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Adding-priority-to-large-input-data/m-p/93537#M43084</guid>
      <dc:creator>RaviSingh4</dc:creator>
      <dc:date>2019-10-28T05:35:00Z</dc:date>
    </item>
    <item>
      <title>RE: Adding priority to large input data</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Adding-priority-to-large-input-data/m-p/93538#M43085</link>
      <description>Once you load the input data into a Collection, you can add a new column in the collection to store Priority. You can set the Priority values based on your business rules, and then load this into the work queue by setting the input parameters appropriately.&lt;BR /&gt;&lt;BR /&gt;Do keep a watch on potential memory issues when working with large amounts of data, in which case you may have to read the input data in batches.&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Pratyush Garikapati&lt;BR /&gt;ROM Architect&lt;BR /&gt;Blue Prism&lt;BR /&gt;Asia/Kolkata&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Fri, 01 Nov 2019 08:47:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Adding-priority-to-large-input-data/m-p/93538#M43085</guid>
      <dc:creator>PratyushGarikap</dc:creator>
      <dc:date>2019-11-01T08:47:00Z</dc:date>
    </item>
    <item>
      <title>RE: Adding priority to large input data</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Adding-priority-to-large-input-data/m-p/93539#M43086</link>
      <description>Dear Pratyush&lt;BR /&gt;Let's suppose as per business rule we have only 2 priorities, 0 for 5K data and 1 for rest of the 5K data.&lt;BR /&gt;Now, the priorities are added successfully in the collection.&amp;nbsp;&lt;BR /&gt;But how could I use ADD TO QUEUE action of work queue to successfully add these 2 priorities in the work queue because I can set a single priority at a time with ADD TO QUEUE.&amp;nbsp;&lt;BR /&gt;Can we use code stage to select data from different priorities at a time and then use dynamic data item to set the priority input of ADD TO QUEUE action 0 or 1.&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Ravi Singh&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Fri, 01 Nov 2019 14:16:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Adding-priority-to-large-input-data/m-p/93539#M43086</guid>
      <dc:creator>RaviSingh4</dc:creator>
      <dc:date>2019-11-01T14:16:00Z</dc:date>
    </item>
    <item>
      <title>RE: Adding priority to large input data</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Adding-priority-to-large-input-data/m-p/93540#M43087</link>
      <description>&lt;DIV class="uconBody"&gt;&lt;DIV dir="auto"&gt;Hi Pratush,&lt;DIV dir="auto"&gt;&lt;BR /&gt;&lt;/DIV&gt;&lt;DIV dir="auto"&gt;If possible can you fetch the data using oledb based on priority. It will solve your problem.&lt;/DIV&gt;&lt;DIV dir="auto"&gt;&lt;BR /&gt;&lt;/DIV&gt;&lt;DIV dir="auto"&gt;Regrads&lt;/DIV&gt;&lt;DIV dir="auto"&gt;Sutirtha Gupta&lt;/DIV&gt;&lt;DIV dir="auto"&gt;TCS&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;BR /&gt;&lt;BR /&gt;------Original Message------&lt;BR /&gt;&lt;BR /&gt;Dear Pratyush&lt;BR /&gt;Let's suppose as per business rule we have only 2 priorities, 0 for 5K data and 1 for rest of the 5K data.&lt;BR /&gt;Now, the priorities are added successfully in the collection.&amp;nbsp;&lt;BR /&gt;But how could I use ADD TO QUEUE action of work queue to successfully add these 2 priorities in the work queue because I can set a single priority at a time with ADD TO QUEUE.&amp;nbsp;&lt;BR /&gt;Can we use code stage to select data from different priorities at a time and then use dynamic data item to set the priority input of ADD TO QUEUE action 0 or 1.&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Ravi Singh&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Sat, 02 Nov 2019 12:22:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Adding-priority-to-large-input-data/m-p/93540#M43087</guid>
      <dc:creator>sutirtha.gupta</dc:creator>
      <dc:date>2019-11-02T12:22:00Z</dc:date>
    </item>
    <item>
      <title>RE: Adding priority to large input data</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Adding-priority-to-large-input-data/m-p/93541#M43088</link>
      <description>Hi Sutirtha&lt;BR /&gt;Can you please elaborate the design layout ?&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Ravi Singh&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Ravi Singh&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Sat, 02 Nov 2019 12:34:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Adding-priority-to-large-input-data/m-p/93541#M43088</guid>
      <dc:creator>RaviSingh4</dc:creator>
      <dc:date>2019-11-02T12:34:00Z</dc:date>
    </item>
    <item>
      <title>RE: Adding priority to large input data</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Adding-priority-to-large-input-data/m-p/93542#M43089</link>
      <description>You can run 2 SQL queries - first one pulls all the 5K rows for which priority should be 0, and load them into Collection1; second one &lt;SPAN style="display: inline !important; float: none; background-color: transparent; color: #7a7a7a; cursor: text; font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; font-size: 14px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px;"&gt;fetches the 5K rows for which priority should be 1, and load them into Collection2. Now you can load Collection1 into queue with Priority=0 and then Collection2 with Priority=1.&lt;BR /&gt;&lt;BR /&gt;Alternatively, as Sutirtha suggested, you can have Priority column in the input excel itself (someone will have to manually populate this or populate this automatically using BP) which you can use to filter the rows returned the SQL query. This will especially be useful if the Priority logic requires you to recursively search across multiple rows of data.&lt;BR /&gt;&lt;BR /&gt;The scenario you have presented doesn't seem to require a code stage, although it certainly is an alternative if none of the out-of-the-box functionalities are giving you the desired result.&lt;BR /&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Pratyush Garikapati&lt;BR /&gt;ROM Architect&lt;BR /&gt;Blue Prism&lt;BR /&gt;Asia/Kolkata&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Mon, 04 Nov 2019 11:18:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Adding-priority-to-large-input-data/m-p/93542#M43089</guid>
      <dc:creator>PratyushGarikap</dc:creator>
      <dc:date>2019-11-04T11:18:00Z</dc:date>
    </item>
  </channel>
</rss>

