Lightning Flow Builder..


Lightning Flow:-

Lightning Flow is a product it mainly deals with managing, building,running processes flows.

Flow:-

Flow is  an application that automates a  business process by collecting data and do something in your Salesforce org or external system.

Flow Builder:-

Flow Builder is a point-and-click tool for building flows.


 Lightning Flow Builder:-   lightning flow builder is a tool which allows you to automate business process  by building application known as Flows and flows can be used to create, update collect, delete information in salesforce. Flows can also execute logic and  interact with salesforce data, call apex class and guide users through screens for collecting and updating data.


Flows in salesforce can implemented   by thses following ways:-

1. Screen Flow:-       In this type of flow  a series of screen elements gather information        from the user and perform some operations. Screen flow can be    accessed from custom button, custom link, Visual pages etc.This type  of flow is implemented if  a user  interaction is needed in process.

2. Auto-launched Flow:-    Auto launched flow can runs in the background without user        interaction auto launched flow can be accessed from custom  button, custom link, Visual pages, process builder.

3. Record-Triggered Flow:-   Launches when  a record is created or updated. This                  autolaunched flow  runs in background.

4. Schedule-Triggered Flow:-  Launches  at a specified time and frequency for each record  in a batch, This autolaunched flow runs in background.

5. Platform Event -Triggered Flow:-  Launches when a platform event message is received, This autolaunched flow also runs in background.

Salesforce Winter 21 Release - New Lightning Flow features

1. Trigger a Flow to Run  Before a Record Is Deleted:-

In Flow Builder  you can  now configure  a  new record-triggered flow  to run before  a record is deleted. You no longer need to write apex code to set  this up. This autolaunched flow runs in the    background and updates related records when record is deleted

         Who:  To activate a record-triggered flow that runs  before the record is deleted  you need the                             Manage Flows and All Data permissions

Record -Trigger Flow

2.  Debug Auto launched Flows Directly on the Canvas (Beta):-                                      
                                
Now you can debug an autolaunched flow without opening a new browser tab. just click DEBUGCANVAS (BETA) in Flow Builder  and view the path  flow took during the debug run.

 3. Improve the Performance and Precision of Record-Triggered Flows with Entry Criteria:-

Salesforce added entry criteria to record-triggered flows, giving you more control over automation.instead of configuring the flow to run every time a record is created or edited , you can now configure it to run only when condition requirements are met.This optimization can also significantly reduce your record-triggered flows impact on your org's performance depending on the flow.

4.Access Related Record Data  in Autolaunched Flows With Triggers Using $Record.

We do not need to have a Get Records flow element to retrieve associated record information. You can access the related data via the $Record element 

  5. Use Your Salesforce Org's Global Variables Everywhere in Flows:-

Access information about your org or the running user throughout your flows by referencing global variables.Previously most global variables were available in flow formulas, and Flow Builder displayed only the first 100 options for each type of global variable .Now you get all global variable options from anywhere in Flow Builder that supports variables.

6.Use Auto-Layout to automatically place and connect elements in flow:-

The new  auto-layout feature makes building flows and aligning elements easier. When auto-layout is enabled on a flow,elements in the canvas are spaced and connected automatically. No more elements positioned slightly out of alignment.
































      


Comments

Popular posts from this blog

EVENTS IN Lightning Web Components

Security model

Imperative apex call