Reply To: Detect when a Flow Graph Ends

Forums 💬 FlowCanvas ⚙️ Support Detect when a Flow Graph Ends Reply To: Detect when a Flow Graph Ends

#22199
Gavalakis
Keymaster

    Hello,

    Hmm. A custom event is basically similar to calling a function and -like you said- calling it again, would always be possible as long as the flowScript is actively running. One thing you can do, would be to check some kind of condition right after the event node, and continue only when that condition allow it. Here is an example of what I mean using a boolean variable, but the condition could be just about anything returning a boolean value.
    [attachment file=”SwitchCondition.png”]

    Let me know if this would works for you.
    Thanks.