<?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 Populating Work Queue through API in Product Forum</title>
    <link>https://community.blueprism.com/t5/Product-Forum/Populating-Work-Queue-through-API/m-p/90424#M40641</link>
    <description>Hello,

Has anyone had any experience of exploring the use of APIs to populate the Blueprism Work queue?

Im curious to understand the pros and cons of using that as an approach to load queues.

&amp;nbsp;

Thanks</description>
    <pubDate>Tue, 26 Feb 2019 14:49:00 GMT</pubDate>
    <dc:creator>sridharpp</dc:creator>
    <dc:date>2019-02-26T14:49:00Z</dc:date>
    <item>
      <title>Populating Work Queue through API</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Populating-Work-Queue-through-API/m-p/90424#M40641</link>
      <description>Hello,

Has anyone had any experience of exploring the use of APIs to populate the Blueprism Work queue?

Im curious to understand the pros and cons of using that as an approach to load queues.

&amp;nbsp;

Thanks</description>
      <pubDate>Tue, 26 Feb 2019 14:49:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Populating-Work-Queue-through-API/m-p/90424#M40641</guid>
      <dc:creator>sridharpp</dc:creator>
      <dc:date>2019-02-26T14:49:00Z</dc:date>
    </item>
    <item>
      <title>Yes.  Do this.
We have an…</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Populating-Work-Queue-through-API/m-p/90425#M40642</link>
      <description>Yes.&amp;nbsp; Do this.
We have an API we make calls to to populate a few work queues.&amp;nbsp; We played around with using CSV and Excel inputs.&amp;nbsp; But human users frequently interfere with the files and open/edit them which causes problems.
Using an API eliminates a lot of human error.&amp;nbsp; We use APIs everywhere we can now, makes development so much easier.&amp;nbsp; Cannot recommend it enough.</description>
      <pubDate>Thu, 04 Apr 2019 21:27:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Populating-Work-Queue-through-API/m-p/90425#M40642</guid>
      <dc:creator>BenKirimlidis</dc:creator>
      <dc:date>2019-04-04T21:27:00Z</dc:date>
    </item>
    <item>
      <title>We wrote a couple as well…</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Populating-Work-Queue-through-API/m-p/90426#M40643</link>
      <description>We wrote a couple as well that just run some queries directly against the BP database. It's pretty much eliminated any need to have a bot monitor an inbox for an input file, when we can just have the end user upload it to a web page. This plays perfectly with our pooled setup.</description>
      <pubDate>Sat, 06 Apr 2019 01:14:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Populating-Work-Queue-through-API/m-p/90426#M40643</guid>
      <dc:creator>AmiBarrett</dc:creator>
      <dc:date>2019-04-06T01:14:00Z</dc:date>
    </item>
    <item>
      <title>Hi, 
just out of curiosity…</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Populating-Work-Queue-through-API/m-p/90427#M40644</link>
      <description>Hi,&amp;nbsp;
just out of curiosity you are writing records directly into BPWorkQueueItem or you created it through exposing an Action ""Add To Queue"" as a web service? The latter I know and used but the first one anybody implemented? It is quite dangerous IMHO.</description>
      <pubDate>Mon, 08 Apr 2019 18:17:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Populating-Work-Queue-through-API/m-p/90427#M40644</guid>
      <dc:creator>zdenek.kabatek</dc:creator>
      <dc:date>2019-04-08T18:17:00Z</dc:date>
    </item>
    <item>
      <title>Zdenek - Thanks for the…</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Populating-Work-Queue-through-API/m-p/90428#M40645</link>
      <description>Zdenek - Thanks for the catch there. I was indeed slightly inaccurate.
The web upload calls a stored procedure we wrote. Once the file is validated, the file's data is inserted into a custom table in our DB. As soon as data is present, our controller automatically kicks off a feeder process to insert the data into a work queue using the ""Add To Queue"" action. In a similar fashion, the controller will then automatically spin up as many robots as-needed/available to work the queue.</description>
      <pubDate>Mon, 08 Apr 2019 19:21:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Populating-Work-Queue-through-API/m-p/90428#M40645</guid>
      <dc:creator>AmiBarrett</dc:creator>
      <dc:date>2019-04-08T19:21:00Z</dc:date>
    </item>
    <item>
      <title>Hey there,
@amibarett that…</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Populating-Work-Queue-through-API/m-p/90429#M40646</link>
      <description>Hey there,
@amibarett that sounds awesome.
We are currently working on an&amp;nbsp;multiple active queue management for some cross-project ressource loadbalancing / usage.
Is your work queue an active queue which ""spin's up as many robots as needed""?
Furthermore I would like to know how your controller starts&amp;nbsp;these processes.&amp;nbsp;
Since we couldn't figure out how an active queue could do this byself our approach was to use the AutomateC.exe to increase set the ""Target Resources"" of an active queue or set the Property in the Blue Prism Database.
Best regards
Marcel</description>
      <pubDate>Tue, 16 Apr 2019 20:38:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Populating-Work-Queue-through-API/m-p/90429#M40646</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-04-16T20:38:00Z</dc:date>
    </item>
    <item>
      <title>No, we do not have the…</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Populating-Work-Queue-through-API/m-p/90430#M40647</link>
      <description>No, we do not have the queues set as active.
Our controller monitors the status of each work queue and will use AutomateC to start a process on the next available resource, based on a mapping lookup table we have in a custom SQL db. So if Work Queue A has data to be worked, run the process mapped to that queue in said table.
We do&amp;nbsp;not&amp;nbsp;have our resources in a pool as defined by Blue Prism - the pool is only created by how the controller handles the resources. We have it query the status of the machines either via SQL lookup or AutomateC call.
Theoretically, you could also have a process do the exact same thing in lieu of relying on the built-in controller to kick everything off.</description>
      <pubDate>Tue, 16 Apr 2019 20:53:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Populating-Work-Queue-through-API/m-p/90430#M40647</guid>
      <dc:creator>AmiBarrett</dc:creator>
      <dc:date>2019-04-16T20:53:00Z</dc:date>
    </item>
  </channel>
</rss>

