Hi,
You will need to add a step in your microflow to retrieve the Address by association first and return this object. If none is found, only then do you create a new Address object (which will be empty)
Hi Abdur,
You are indeed creating a new address once you are navigating to your page. Depending on your association type (1-1 or 1-*) you may need to think about what needs to happen.
If you use a 1-1 association, you can simply retrieve by association (very important, especially when working in memory), and add an exclusive split to check whether the address is empty or not. If the address is empty, create a new one and open the page with the newly created address to the page, otherwise open the page with the existing address.
For a 1-* approach, you can do the same if you are expecting a single address at this stage. You should then only head the list of addresses you retrieve by association.
When working with wizards, ensure that you try to keep to memory, as you may have new items. Also ensure that you commit everything at the end, as the ‘Save changes’ action, only saves the items in context (i.e. what is on the page) and you may lose data if you don’t explicitly commit it yourself