Are the java actions predefined in Mendix

0
after creating an activity for java action, it asks to select a a java action. Then there is a list of modules and java actions. Are these java actions predefined and we just have to pass the respective parameters?
asked
2 answers
0

Hi Nitin,

The java action will define how many parameters it has, what type each parameter is, and then return type. So yes, to run these actions you just have to pass the respective parameters. 

 

For example this java action accepts a list of file documents, and one object of type file document. Then it returns a boolean.

 

 

Hope this helps!

answered
0

Hi Nitin,

 

To add to Austins answer, you can add custom java actions to extend your application. Here's the documentation on how to do this https://docs.mendix.com/howto6/extending-your-application-with-custom-java.

 

Matt

answered