node-red-contrib-actionflows
node-red-contrib-actionflows copied to clipboard
how to interrupt an actionflow?
I love your nodes! One thing I could not find out so far: is it possible to interrupt a running actionflow, so that the parent flow is no longer processed any further? (like returning "null" in a function node).
please see the following REST API flow example:
if the user is not authorized, the secret payload should not be sent.
not triggering the "auth out" node however does not seem to be a proper solution, because it messes with your state management. is throwing and catching an exception recommended? or are there any other options?
what would be the right way to handle this? :-)