Hello, I have created a microflow, in which I have a Java action component. I have written code in this action handler. Whenever I try to deploy this component, my code gets erased and the user operation fails since there is no action defined. -Amit
First of all Mendix Generates the java code everytime you run the app from the modeler.
In Mendix Java Actions you have comments like the following:
// BEGIN USER CODE
// END USER CODE
You should write all your custom methods in between those comments to ensure that they are save for the next deploy