Print Association value in log

0
Hi, I am new to mendix. I am getting the below error when I try to print the association domain attribute value in log. Added to the issue I have few questions. Question:  Whether it is possible to print the whole object in mendix log?     Microflow:   Domain model:
asked
2 answers
0

You should first retrieve the associated object and use that object as input in your log message.

Kind regards,
Joran

 

answered
0

Hi Bharathi,

To print the value from an association you need to first “Retrieve” it. When you log you can log the attributes from multiple entities, but you do have to specify them all in your “Log Message” template. 

If you just want to inspect the values, you may find it easier to install a breakpoint in your microflow. When the breakpoint is reached you can look in the Variables tab and see the contents of all the current entities in scope.

Hope this helps.

answered