Commit module not terminating scenario

So, to my understanding, if I force an error on a module and then use error handling to push it through a commit module, that should terminate the scenario even mid-repeat loop, resulting in the whole thing just stopping.

So then, why is this happening?


hopefully that shows the image. Anyway, the particular problem is as follows:

  1. A sleep tool module receives an instruction, that instruction checks if the value of a variable is A
  2. if A, then it waits 10 seconds. if Not A, such as B, then it waits null seconds.
  3. Null isn’t a seconds, so it results in an error. This error is handled by my very own error handling, which sends a message to your truly and then reaches a “commit” module
  4. It then proceeds to reset the loop to before the sleep module occurred, and runs until the repeat module runs out of repeats.

Why is it not terminating and how can I get it to terminate mid-process is my question.

Your commit module needs to be attached directly to where the error is originating from. So in this case you’ll have to link it to the sleep module and not the telegram module.

It is linked to the sleep module, the solution was to put a second commit module on the telegram module, though its possible I’m misunderstanding your response. Either way, thanks for the response! I hope you have a great day, and it is working now.

1 Like