[SalesForce] Flow variable is getting lost after clicking previous button

I have created a Visual Work Flow which creates a contact and opportunity record by clicking next button in the 1st screen. I am storing the created contact and opportunity in two different flow variable. Clicking the Next button will take the user to the next screen. In the next screen, if the user clicks previous button and again clicking next the flow automatically creating new records for contact and opportunity. I checked the already created flow variable values with a decision palette in flow, but I am keep getting null for this variable.

Is this a bug from Salesforce side?
Or what am I missing?
Please help me guys…

Best Answer

After doing a lot of research, I made a conclusion that its is not possible to store the variable data on clicking previous button in floe. So for getting the variable value , we should look-up that record we created before clicking the next button so that no new record will get created.

Related Topic