How does microflow concurrent execution property work?
0
Hi colleagues, I have a question regarding the "Concurrent execution" property in a microflow. As I understand it, if this property is set to "Yes", the microflow cannot be executed more than once at the same time. My question is about the behavior in this scenario: what happens when two users try to execute it simultaneously and an error message is displayed? Does this error message block and abort the flow completely, or does it act like a queue? Imagine I have this property set in a sub-microflow that is called from a microflow named "mf_button", which is triggered by a button click. If two users click the button at exactly the same time, is the execution completely stopped, requiring the user to click the button again—even if part of the action (everything before the sub-microflow with the concurrency restriction) has already been performed? Or will the sub-microflow wait until it can execute alone, and the user will just experience a slight delay? I hope I explained myself clearly, and thanks in advance for your help!
asked
Clara Fernández Forte
1 answers
0
Hi Clara,
Mendix wrote this differently if the "Concurrent execution" property is disallowed means "It is possible to execute the microflow more than once concurrently" as its default.
on the other hand if you make it enabled then "It is not possible to execute the microflow more than once concurrently; the user receives a message or another microflow is executed instead."