Quantcast
Channel: Mendix Forum Questions
Viewing all articles
Browse latest Browse all 83087

CommunityCommons - executeMicroflowInBackground

$
0
0
Hi, I have made a microflow that given a list of users sends email to them. In order to not let the user issuing the list wait I would like to use a function that performs the sending of emails in the background. ExecuteMicroflowInBackground from Community Commons does what I want since I need to send an object to the microflow in the background. The problem is that it is/seems slow even under low server load. Some emails are sent after 30 minutes. The documentation states this: "This might be useful to model for example your own batching system, or to run a microflow in its own (system) transaction. The microflow is delayed for at least 200ms and then run with low priority in a system context. Since the microflow run in its own transaction, it is not affected with rollbacks (due to exceptions) or commits in this microflow. "  How low priority is low priority? It almost seemed like it was being starved by higher prioity processes even though there where low load on the server. Is it possible to increase the priority somehow?  

Viewing all articles
Browse latest Browse all 83087

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>