Hi guys,
I am struggling with the Break module, and I just can’t make it to do anything meaningful.
How I imagine the Break Module should be working:
-
If I make an HTTP request, and it returns “Server is busy”,
-
The break module will catch the error, as I have set a filter for this particular error, and it will try to re-run the HTTP request “X number of attempts” in “X minutes of time”.
However, I first CANNOT make the Break module to “retry” the HTTP module.
My second objective is that it does not finish a scenario run before it has retried the “X number of attempts” as it is wasting my money in useless operations, but also in other tools, such as ChatGPT. This means - I want it to make an HTTP request, if the server is busy, retry in 1 min, if the server is still busy, retry again, etc, get the data and only then continue with the scenario, if NOT then mark it as an incomplete scenario run.
Here is all the reading I did, and I couldn’t find any useful information on the topic:
https://www.make.com/en/help/errors/introduction-to-errors-and-warnings-in-make
https://www.make.com/en/help/errors/error-handlers/directives-for-error-handling
https://www.make.com/en/help/errors/introduction-to-errors-and-warnings-in-make
https://www.make.com/en/help/errors/error-handlers/break-error-handler
https://community.make.com/t/how-to-solve-incomplete-execution-after-break-error
I can say that the documentation for this module is insufficient on how the attempts work in general and how do they work in relation to other scenario runs.
From the last video I also understood that “attempts” do not work in “Run Once” mode, but instead work only on scheduled scenarios, which does not make any sense to me. Is this true?
Here is what I am trying to do with examples
If the HTTP module returns “server is busy”, retry again in “X amount of time”, however if it manages to pull the data, I want to continue on the upper route
Instead, this never happens, even I look at the “Incomplete execution history” and the time for attempts has passed.
Here are my Break module settings:
Here are my scenario settings:
Any ideas of how I can achieve these 2 goals with the Break module?