Access many list from one object

0
Hi, How can i retrieve the assosiated question list by an enquete variable? I want to modify (change) the QuestionList on the Enquete variable I have in my Microflow. However the QuestionList doesn't appear in the list of member when changing the item, as seem in the second image below. How can I access this QuestionList object on my Enquete object?     Regards, Thomas
asked
2 answers
1

Hi Thomas,

  In order to change attributes for specific objects on the list, you will first need to retrieve over association to get back the entire list of question objects related to your Enquete entity.  After that you could loop through the list of questions, and for each question set the value of the association Question_Enquete to be equal to your Enquete, then commit the list.

 

  The reason you do not see an option to set the association list when changing the Enquete entity is that the association is many-to-one.  If the association were a many-to-many with the option selected for "both Enquete and Question entities to refer to each other", you would see an option to change the list of questions whend changing the Enquete entity. 

answered
0

Is this what you mean?

answered