Changes made to list dont reflect in parent object
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?
Is the 'MonthList_2' an database retrive? Did you commit the object: 'NewMonth'?
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.