Set value to entity

0
How to set an value to entity from Java Action.Java Action will return an object and i needs to store it in DB.Can anyone suggest good way to do it..
asked
2 answers
0

Hi,

If you are using a calculation done inside the java action you can choose to return that value and just use a change action in the microflow to change the object attribute. If you are looking for a different method/explanation - please provide a little more information for me to go with.

answered
0

Hi Menagapriya,

If you want to change your object inside your java action, you can use the change method. Here is the link to the runtime documentation.

https://apidocs.mendix.com/7/runtime/

 

Hope this helps!

answered