node-red-contrib-actionflows icon indicating copy to clipboard operation
node-red-contrib-actionflows copied to clipboard

how to interrupt an actionflow?

Open berndb opened this issue 3 years ago • 0 comments

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: Bildschirmfoto 2021-06-24 um 10 46 57

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? :-)

berndb avatar Jun 24 '21 08:06 berndb