Reply To: Backwards flow lines

Forums 💬 FlowCanvas ⚙️ Support Backwards flow lines Reply To: Backwards flow lines

#21706
Gavalakis
Keymaster

    Hello again and sorry for the late reply.

    I see that you are using the Custom Function, basically as a ‘GOTO’ statement, which is interested, but can also be problematic with the current Custom Function implementation. I could certainly add a ‘GOTO’ like node, that will be best suited for this use case and I think that would be a good idea as well 🙂

    Until the ‘GOTO’ nodes are added though, if you want, you can change the behaviour of Custom Function to the way it used to be in the previous version and as such allow you to invoke it even before a ‘Return’ node is called. To make the change, please open up CustomFunctionEvent.cs and in the ‘InvokeAsync’ method, simply delete the first 3 lines where the ‘isInvoking’ is checked.

    If you have trouble finding, or making the change, please let me know.

    Thanks!