Salesforce Flow Toolbar and Modal Windows
![Image](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgg_DTx6ZUvlfrlJCdvhCK3ANa9CoGzJU49jj1y0xdCPpQbKhbLQtbrotmpH8Pc-CRscPA55lGGcPdTBBNRerz8eht4-m7FcozWgdIJCYyoXUZpihosZxvrT2FRe3Sh0t2HKANMJVjc1-AK/s320/flow+toolbar+in+exec.png)
How can we execute Modal Flows from a button in the "object action bar"? Flow Button Toolbar Component in action In this article I share a component that shows as a toolbar in the Record Page and allow to execute a Flow from a Modal Window. Objective We will create a component that will allow us to insert several buttons in a line, each button will execute a selected Flow in a modal window. Because we are inserting the toolbar in a record page, each Flow will get only as an input value, the recordId. Flow Button Toolbar Component Desing I made this component because I couldn't find a way to add a Flow action button to the object's record page when the Chatter Feed Tracking is enable for that object. The problems I tried to solve were: Execute a Flow in a modal window with a button to "cancel and close" the flow screen (by default, there is no button to "cancel" a Flow). Start the execution of the Flow from ...