Scheduling: Allow extension of time limit for executions (increase scenario MAXIMUM EXECUTION TIMEOUT)
Jonas Skafte
Please allow users to extend the 45 minutes max time for the execution of scenarios... I understand that it's good to have this limit in place as a default to save scenarios from looping. However, it would be very useful if it was possible to set this limit manually. It's a deal-breaker for us in regards to what we are trying to achieve with Integromat. The scenario we want to build requires more than 45 minutes, once in a while, and if we cannot allow for that, then we can't use Integromat.
Here's the error message we get when it happens:
Scenario has been requested to FORCE STOPPING the current OPERATION [TIMEOUT=45 minutes] because MAXIMUM EXECUTION TIMEOUT [40 minutes] has elapsed
----------------------------------
SOLUTION: In Private Integromat there are no limits with regard to the maximum scenario execution time.
BESTPRACTICE:
- Identify the part in your scenario that takes most of its execution time, typically processing of a large number of entities (TotalNumberOfEntities).
- Clone the scenario.
- In the original scenario, replace the processing of entities with storing the entities in a Data store.
- In the cloned scenario, remove the part before the processing and replace it with the Webhooks > Custom webhookmodule.
- Place the Data store > Search recordsmodule after theWebhooksmodule to fetch a batch of entities (NumberOfEntitiesInABatch) (not all the entities) from the Data store. Process it and remove it from the Data store (or mark it as processed).
- Enable the Process webhooks separatelysetting in the cloned scenario’s advanced settings.
- In the original scenario, use the Repeatermodule followed by theHTTP > Make a requestmodule to postceil(TotalNumberOfEntities/NumberOfEntitiesInABatch)webhooks into the cloned scenario’s webhooks queue.
Log In
Autopilot
Merged in a post:
more than 45 minutes execution, but days of execution
Claudio Bravo Ortega
I need to run uninterrupted execution process, currently I am having problems with the 45 minutes execution time
akash.paul@integromat.com
Hello Everyone!
Hope everyone is safe and well. Until the feature is developed you can follow the WORKAROUND:
- Identify the part in your scenario that takes most of its execution time, typically processing of a large number of entities (TotalNumberOfEntities).
- Clone the scenario.
- In the original scenario, replace the processing of entities with storing the entities in a Data store.
- In the cloned scenario, remove the part before the processing and replace it with the Webhooks > Custom webhookmodule.
- Place the Data store > Search recordsmodule after theWebhooksmodule to fetch a batch of entities (NumberOfEntitiesInABatch) (not all the entities) from the Data store. Process it and remove it from the Data store (or mark it as processed).
- Enable the Process webhooks separatelysetting in the cloned scenario's advanced settings.
- In the original scenario, use the Repeatermodule followed by theHTTP > Make a requestmodule to postceil(TotalNumberOfEntities/NumberOfEntitiesInABatch)webhooks into the cloned scenario's webhooks queue.
If in doubt, please, contact our support (https://www.integromat.com/en/ticket) or feel free to post a question to our Facebook Integromat Community group (https://www.facebook.com/groups/integromat/), where hundreds of specialists, users, and fans are willing to help.
Evan Lee
Michal Máša: I submitted a ticket inquiring about Private Integromat and it is targeted towards enterprises (much pricier). We only have one, maybe two scenarios that hit the max time limit and do not need any of the other features provided by Private Integromat.
So it would be nice if the feature is available in the regular subscriptions (maybe the number of scenarios allowed to bypass the max time changes with the higher tiers).
Michal Máša
Jonas Skafte, Evan Lee: There will be no limits with regard to the maximum scenario execution time in Private Integromat. Please, upvote the corresponding request (https://integromat.canny.io/feature-requests/p/private-integromat-hostedon-premises) to be notified when the Private Integromat has been released. If you are interested in Private Integromat Beta, please contact our support: https://www.integromat.com/en/ticket