Month: April 2017

Summer’17 :: Embed Your Flow in Lightning Experience

In this post, I am going to explain the new Flow features introduced by Salesforce in Summer’17.Add Flow into Record Detail Pages:With Summer’17 Salesforce release, now you can add flows into any Lightning Pages. You need to add the Flow component to your Lightning pages. This feature was introduced by Salesforce in Winter’17 release as a beta functionality, and in Summer’17 this is now Generally Available.In this section, I am going to explain how you can add flow into record details page through Lightning App Builder.Let’s first create a flow which needs a parameter which is basically the record Id. The intention is that when we will add this flow into the record detail page, we will pass the record Id to flow and then flow will fetch necessary information from the record and prepare its own view.So here is the flow -Flow Name: Survey CustomerThis flow is having one input variable – “recordId” which will store the Salesforce Record Id passed from record detail page.With this variable, the flow will query the Salesforce Contact Record, fetch Contact’s First Name and Last Name and generate the customized Welcome Message. I am not going to show how Flow is configured because the intention of this post is to demonstrate how to use the flow inside Lightning Experience.Here is the final view of the flow -Now, will come the fun part. Let’s...

Read More