Today, the behaviour of batch macro can be strange.
If I refer to https://community.alteryx.com/t5/Alteryx-Designer-Discussions/Batch-Macro-not-looping-after-running-...
we can have big behaviour differences between :
-wf and app
-designer and scheduler
Example here with a batch macro running for all lines in designer and only for line in scheduler
Designer works fineScheduler only runs the first line!!
I know the turnaroud (just use a message box) but it's not natural and I think
-at least the same behaviour is needed in any use case
-if you want to do some optimization, ok, but make it an option!!