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

java action that call microflows asynchronous

$
0
0
Hi. I need to call the same microflow with list of objects at the same time. But my java action gets called from my main microflow but does not continue after the executeAsync call.  Does anyone have an example of calling microflow async. Here is my code which does not seem to work. try       {                      Future future = Core.executeAsync(Core.createSystemContext(), microflowName, true, __applicationList);          future.get();       }       catch (Exception e)       {          throw new RuntimeException("Failed to run Async: "+ microflowName + ": " + e.getMessage(), e);       }                 return true; Any help will be greatly appreciated.  

Viewing all articles
Browse latest Browse all 83469

Trending Articles



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