How to pass back the control from sub macro to main macro , on failure, in kantu?

Hi,
I’m calling sub macros from within a macro while running the main macro using PLAY LOOP button ,
Is there any way that control returns from sub macro to main macro on failure ?

Any suggestions are deeply appreciated @admin/@timo /@ulrich
Thanks

You can use Set | true | !errorignore to avoid that the macro stops on error.

And then, in the main program, check the value of the internal variable !statusOk - its is false if an error happened in the sub-macro. (If running in a loop, do a store | true | !statusOk at the start of the macro.)

1 Like

Thank you so much Timo , I’ll try it out