I have an overview page where I can add a record. I’ve also provided the option to quickly add another similar record. The input fields on the creation page are pre-filled with properties from the user flow, specifically from the record that was just created.
However, the issue occurs when I add a record, then quickly add another similar record, and afterward go back to the overview page to add a new record. The input fields on the creation page remain pre-filled with the values from the previous record.
How can I fix this?
Please see the attached screenshot for a part of the flow.
Hi Melissa,
Based on what you are writing I assume that the values of the created record re-appear, because no new record has been created yet, hence the values are still available.
To achieve your goals I would suggest to temporary store a created Component after creation (e.g. in the User record or some other related, yet avalable record) and use that for prefilling the Condensor toevoegen page.
Create a reference attribute in the User record named temp_Component
after Create Component you add Update User and save the Component in the user record
Change the prefill values for Condensor toevoegen to this saved record, instead of the created record
Create a flow part with Component reference and User as input parameter and an update action to make the reference temp_Component in the current user empty. Then end the flow part.
Add the new flow part before Custom Create Follow Up Number For Component to make sure the reference is empty when you start from the overview. When the Nog een zelfde type toevoegen button is used, the values will be prefilled from the record you have saved in User / temp_Component
That’s it, now it should work as you want it to work.