In my flow I have a situation where I could be querying one of two document libraries for the document properties, and as a result I need to branch out - the library name being queried is a variable, and in one of the libraries I need to limit the columns by view, and the other I don't, so this needs to be a variable too.
The documentation for the Microsoft SharePoint connector is vague and silent on what the "Limit columns by view" parameter requires - just says it's a string, and when you use the gooey editor it shows the view name (even when you are tracing a successful flow run).
In actual fact this parameter requires a view UUID, it will NOT work with a view name - even if that's what it shows it is passing when you view the successful run. I had to "edit" the SharePoint view to find the UUID, translate this using URL decode, and insert this into the flow as the parameter instead.
If you are passing the value of "Limit columns by view" as a parameter rather than a static value from the dropdown list, be sure to use the UUID (enclosed in {}) or it will fail.