Access Flow file location

Hi All,

Can anybody guide me how i can access flow file location as variable or any other way in the flow instead of hardcoded?

Thanks in advance.

That information is not exposed in any way a flow can access it.

One approach would be for you to add some code to settings.js that figures out where the flow file is, and sets an environment variable that can then be accessed by the flows.

thanks for information Knolleary