Robotic Process Automation (RPA)

 View Only
Expand all | Collapse all

Can we trigger a bulk API calls for a bot

  • 1.  Can we trigger a bulk API calls for a bot

    Posted Tue December 06, 2022 11:26 PM
    I have to trigger bulk API calls for a bot where I need the bot to run in a queue.
    I have to trigger the same bot in bulk through HTTPS requests.
    I need the bot execution in a queue.
    While triggering in bulk, on the first request the bot runs and other requests are failed.
    What am I missing?
    What could be a possible solution?

    ------------------------------
    JAMIL UDDIN SYED
    ------------------------------


  • 2.  RE: Can we trigger a bulk API calls for a bot

    Posted Wed December 07, 2022 04:32 AM
    Hi Jamil,

    What API are you using?  Is it the sync one or the async one?   If using the sync API, it will consume a run-time license for every parallel invocation.  If using the async API, it will queue requests if there are no available runtimes.  It sounds like this is what you need.  Take a look at the following lab which explains this: API Lab

    Regards,

    Nigel.

    ------------------------------
    NIGEL CROWTHER
    ------------------------------



  • 3.  RE: Can we trigger a bulk API calls for a bot

    Posted Thu December 08, 2022 12:34 AM
    Edited by JAMIL UDDIN SYED Mon December 12, 2022 07:28 AM
    I am using an Asynchronous API call. 
    I have tried it through Postman and from a web browser as well.
    the bot runs two times in a row but the third time it fails with an error with Timeout: 00:01:40
    Here is what I get;
    There are no licenses or all configured computers are offline, attempted computers: 'MACHINENAME' | Timeout: 00:01:40

    ------------------------------
    JAMIL UDDIN SYED
    ------------------------------