In BOOSTR: VIEW FLOW OR PROCESS BUILDER CAUSING ERROR, the “View Offending Process Builder or Flow” link works in Salesforce Classic BUT not in Lightning Experience (LEX).
I implemented the Boostr code so now it will. A future release, coming soon, will have this functionality.
- If in Lightning Experience, add a mutation observer that reports whenever a DOM element is added or removed on the page.
- When the DOM changes, is the Flow Error text added?
- If yes, create the “View Offending Process Builder or Flow” link and append it to that error message node.
Why It Didn’t Work in Classic?
The reason is the way that Boostr for Salesforce works. When a Salesforce page is opened, it inspects which page is opened and adds the page specific features to it. For example, when the generic flow error is opened, it adds the View… link. It doesn’t look for changes to the page.