I have created a flow on one of my environment and I am calling that flow on custom button by providing correct url. Now problem is when i click on the button,the url is referring Lightning url rather than salesforce url. I have checked the process automation setting and found that "Enable Lightning Runtime for Flows" is enabled.I have disabled the setting and flows now refer classic url.
It is not returning url that was returned in classic UI.
I have to manually click on back button and see my changes.Not sure what needs to be done here..