+ Start a Discussion
D VelD Vel 

Refresh the page after the flow complete

I have an auto launched flow in lightning that updates the Status of the Case to be closed when the button is clicked. The flow is like below 
User-added image
I am calling the flow through the Detail Page Button using the URL like
With the return URL set after the flow completed it does return back to the Page but the page is not refreshed it just shows old status and when manually do a refresh it shows the Closed status. The flow does update the record but but the page is not being refreshed. How can we handle this
ShirishaShirisha (Salesforce Developers) 


You can create the sample lightning component and place it on the page which will refresh the page whenever you open the record so that you will get the recent data.

Sample code:https://developer.salesforce.com/docs/component-library/bundle/force:refreshView

Kindly let me know if it helps you and close your query by marking it as solved so that it can help others in the future.

Warm Regards,
Shirisha Pathuri