![]() ![]() Create and Edit Aura Components (Source Trailhead)Ī solution for the above business requirement.Getting Started with Salesforce Flow Designer – Part 2 (Do You Know How Screen Element Bestows Power on Flow Builder?!).Once a user clicks on the Finish button, redirect them to the newly created lead record. Later, Edward has to put this form on the Home Page Layout and open it for the entire world. Edward received the following requirement from his manager – create a lead capture form which looks like the following screenshot: Today, in this article, I am going to show you how you can create a Lightning componentthat calls Flow Local Actionto redirect the user to the newly created lead record.Įdward Backhouse is working as a System administrator at GurukulOnCloud. Once you configure the Lightning component markup (i) client-side controller and, (ii) design resource, appear in Flow Builder as a Local Action. Get the data from a third-party server without going to the Salesforce server etc.….Use the Camera of the laptop/workstation.Play Sound (For example, when an opportunity is closed-won).Open a newly created record in another browser tab.Like Lightning Components, Flow Local Actions executes on your device in the browser. For example, you can perform the following actions: When you use Lightning components as flow actions, you can execute actions in the client-side (browser) rather than going through the Salesforce server. In this article, I am going to show you how, you can create a Lightning component, that calls Flow Local Action to redirect users to newly created record.īefore we move ahead, let us understand what is a ‘ Flow Local Action’ and, its power. This Solution will only work in Lightning Experience.īy default, when a flow finishes, (1) a new interview starts and users see the first screen of the flow or (2) you can redirect users either to an old record or to the record from where s/he started the flow. Yep, pretty frustrating memory – who could forget? Well, thanks for reading my blogs, you’re in luck! Using different use cases, I have written around a hundred articles on Salesforce Flow to guide users on how to use Flow Builder. You just landed at the right place to learn about it. If you don't see the variable that you want to use, make sure that the variable is marked as input.Have you ever come across a situation in Flow where you wanted to redirect your users to a newly created record but did not know how to handle/configure/implement it? In the Flow Variable part, all the input variables from the selected flow will be shown. In the below screenshot, whole Service Appointment record is passed to a flow variable called SA. ![]() You can pass a single value, or pass the whole record. The values must match the variable's data type. Set values for flow variables by entering literal values or referencing field values from a related record. If it doesn't exist, you can create a flow by clicking on "create one". Give it a name and then select an existing active autolaunched flow. To launch a flow, add an action and select flow as the action type. If the flow contains a screen element (which means it is not an autolaunched flow), then you cannot launch it by a process. Only active autolaunched flows can be launched by a process. There are various ways through which you can call/launch your flows. After you finish building your flow, the next task is to decide how to run it, so that your business users can use it.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |