Records made through API don't execute bots in parallel

If you create a set of records through the API, and those records kick off automations when a new record is made (in the table that the API is creating records in)...

  • The bots DO NOT run in parallel - instead they seem to run one by one

Which completely negates the benefit of running through automation.

------------------------------------------------------------------------------------

Let's consider a scenario:

  • We're creating 100 records
  • Each record kicks off a bot that runs a script that takes 15 seconds to run

If this were to run in parallel (with an enterprise license with a degree of parallelizm of 10):

  • 100 x 15 seconds = 1,500 seconds
  • 1,500 / 10 processing paths = 150 seconds
  • 150 / 60 = 2.5 minutes

But since things run one by one, each one waiting for the full completion of the previous row before it will kick off the next bot run.....

  • 100 x 15 Second = 1,500 second
  • 1,500 / 60 = 25 minutes

-----------------------------------------------------------------------------------------------------------------------

You can see why parallel processing is so important.

  • Now consider if I'm making 1,397 records:
    • 1397 * 15 = 20,970 seconds
    • 20,970 / 60 = 349.5 minutes
    • 349.5 / 60 = 5.825 hours

(Note exactly a direct comparison; but you get the point)

-------------------------------------------------------------------------------------------------------------------------------

I would hope that things would process in parallel since the records were made through the API.

7 2 163
2 REPLIES 2
Top Labels in this Space