Hi.
In some conditions, instead of using multiple nested if-else steps, we use RESPONSE step to stop the execution of a SA.
But this does not work well in case of schedulers, since response step is not supported and it generates “this.res.status is not a function” exception.
Is there any way other to stop the execution of a server action? Like a BREAK statement works in for loop.
Or if there is something that can be configured using custom module, that would do too. The requirement is that it should work in schedulers.