0

I am trying to implement a custom navigation for my flow. I have three screens in the flow and each screen calls a separate Lightning component. Now I am using the navigateFlow("NEXT") in each lightning component to navigate to the next screen in the flow. When i click next i have no problem in retaining the data from previous screens, but when i click the previous button i.e. i have used navigateFlow("BACK") to go back to the previous screen. This time the data is not getting retained, instead the data entered on the previous screens is getting cleared.

Flow:

Start -> Screen 1(custom lightning component) - > Screen 2(custom lightning component) -> Screen 3(custom lightning component) - > Record Creation

In between the flows, i am using flow variables to hold the data. Let me know if any of you have faced this issue and found a solution.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.