Hi, We run a mendix application containing extensive functionality including some scheduled events running in the background. Very occasionally a microflow encounters an issue causing it to loop or consume a lot of resources. Although this should not occur and should have been tested better, we are wondering whether it is possible to stop a running microflow process (in another way than rebooting the full application). We run in a non cloud environment. I checked the Show Active Server Actions menu option in the Mendix Service Console (4.1.1) but encounter the following error: Error while retrieving actions: Newtonsoft.Json.JsonSerializationException: Error converting value "CLIENT_ASYNC" to type 'Mendix.M2EE.ResponseTypes.ExecutionType'. Path 'dba6ec16-......... Logged a support call at Mendix since in 1 of our environments it did seem to work (occasionally). Thanks. Brian
I notice that in the latest version (4.2) of the Windows Service Console there is an option under 'Advanced' to 'Show active server actions'. I haven't played with this, but it looks like you have the ability to kill an action
We used a java-action to kill specific scheduled events/microflows.
Create an entity (called control or something) with a boolean attribute and create a button to change the attribute. At the start of the MF you want to stop during run time, retrieve the first control object and do a false/true check at the start of the MF and place this check at the relevant places in your loop with a break event.
For example if you set the attribute to false while the MF was busy looping, the split will now go the break point and end the MF.