Changes made to list dont reflect in parent object

0
I have an entity called 'SelectedMonths', which contains a list of 'Month'. I have a parameter called 'SelectedMonths' of type 'SelectedMonths' in my Microflow. I retrieved the object 'MonthList' from 'SelectedMonths' object. I created a new object called 'NewMonth' of type 'Month'. Added the 'NewMonth' object in 'MonthList'. Now, when I again try to retrieve 'MonthList_2' from 'SelectedMonths' object, the newly added element is not reflected in the second list,   What I am doing wrong?
asked
2 answers
0

Hi Sajjad,

Is the 'MonthList_2' an database retrive? Did you commit the object: 'NewMonth'?

 

BR,

Rick

answered
0

Hi Sajjad,

 

If you add the 'NewMonth' to 'MonthList', then why a second retrieve, you'll be able to use this 'MonthList' with the newly added month immediately.

Also, I would try to avoid using plural names for entities. 

 

Cheers,

Dave

answered