Terminate microflow from another microflow

Hello, Is there a function in the Mendix 7 Server Runtime Api that allows me to terminate a microflow by passing the name of the executing microflow? I am trying to terminate a microflow from another microflow based on some logical checks
1 answers


AFAIK there is no way to do this. A way to achieve a similar behaviour would be to set a flag in the DB to indicate that the microflow needs to stop and then do periodic checks in your microflow, checking the flag and then exiting from the microflow if the flag is set.