Visual Workflow allows us to automate business processes by building applications, known as Flows, that collect, update, edit, and create Salesforce information, and then make those flows available to the right users or systems. Flows can execute logic, interact with the Salesforce database, call Apex classes, Platform Events, and guide users through screens for collecting and updating data. There are various ways to launch a flow including:
- Custom Button/URL
- Visualforce Page
- Process Builder
- Using Apex start() method
- Inline Visualforce Page
- Using the Flow URL
- As a Subflow
- Login Flow
- Embedding in a Visualforce Page
- Salesforce1 navigation menu
- Embedding in Lighting Record Page
- Embedding in Lighting App Page
- Embedding in Lighting Home Page and much more………………….
Recently Salesforce added one more way to launch a Flow – from an object-specific action (Beta).
After winter’18 release, you can add flows to the action menu on your Lightning pages without having to hunt down the flow’s URL. When you create a flow action, you can pick from a list of available flows rather than enter a flow’s URL manually. It does not mean flow action can call anything in your Salesforce Org. To work as a flow action, a flow must be active and have screens. Let’s start with a business use case
Business Use Case
Rachel Gillett is working as a System administrator at Universal Containers (UC). She has developed a flow to get the Sales reps feedback on closed opportunities. She wants to use the Opportunity object specific action to launch it.
Solution for the above business requirement
We will use Flow and Object specific action(beta) to solve the above business requirement. Perform the following instructions to solve the above business requirement:
- Navigate to Setup (Gear Icon) | Setup | Process Automation | Flows in Lightning Experience.
- Then click on the New Flow button – it will open the Flow canvas for you. Read the rest of this entry!