How to retrive data from association ?

0
I have one entity called Deviceinfo that contain device information. I associated this entity to history table.as 1 to many.i try to retrieve data from association in microflow.but i get empty list.please guide me the correct way to retrive data from association in microflow.
asked
2 answers
0

Hello,

Just make sure while saving the history of your device information, you are setting an association and committing the object or not.

 

Hope it helps!

answered
0

Hi Hemali Raval,

 

We can retrieve using association. Before that, we have to associate the object to the other entity objects.

 

So that a record of DeviceInfo has associated with a list of history records.

 

Remember that By association retrieve only retrieve objects when they are associated.

 

Without associating it will not retrieve any records. It will retrieve empty list or objects.

answered