How to execute a batch file using java action in Mendix

What are the steps involved in executing a batch file using java action? I'm running the app locally 
1 answers

It depends on what you want to do in the batch job.


One approach could be to create a microflow to iterate all the data you want to process, pass this into the Java Action, and then mark the Java Action to run in a Task Queue. This will then iterate each item individually in its own transaction in the background.


If this isn't want you need, can you give us some more information on the problem.


Good luck!