Skip to main content

Flow Basics - Meet Flow Builder

 


With great automation comes great power

All organizations have their process in place to perform a set of tasks or achieve business requirements. Few unique practices allow customer support reps in call center to create customer bank accounts and create a task to field agents to verify the customer authenticity. This task could be repetitive and could add up hundreds of human hours. If the same process could be automated, could help to save hundreds of human hours. Repetitive works is human error prone and good quality process should be in place to deliver quality of data.


Flow Building Blocks

We will dive a bit deep into understanding flow basics building blocks . Salesforce flows has 3 basics entities which are elements, connectors, and resources.

Elements numbered (1) appear on the flow page or we call it as canvas. To add an element to the canvas, click Add element icon (Add element). 

Connectors (2) which define the path that the flow will takes at runtime. At runtime it will tell the flow which element to execute next. 

Resources (3) which are containers that represent a given value, such as field values or formulas. 

Flow example showing the building blocks of flows . 




Flow Types :


The flow type allows different customization. The various flow type are 

Screen Flow : 

Screen flows are user interaction flows . End users can provide input into the flow input place holders. For example screen flow where it will accept required input for contact record like first name and last name and on clicking submit button a contact record is created. 

Record Trigger Flow :

Record Trigger flow ( RTF ) is one among flows which is used to automate business requirements . The RTF is configured against a single object. We configure the flow to trigger for following options

A record is created

A record is updated

A record is created or updated

A record is deleted

Entry Conditions:

The entry condition will minimize unnecessary flow executions and keep a check on org resources. If you create a flow that’s triggered when a record is updated, salesforce recommend first defining entry conditions. Then select the Only when a record is updated to meet the condition requirements option for When to Run the Flow for Updated Records.

Optimize the Flow for:

We can optimize the flow in two ways

  • Fast field updates: Admins need to use this option if the flow needs to be executed before the record is saved to the platform database. This type of flow is high performance flow.
  • Actions and Related Records: Admins need to use this option if the flow needs to be executed after the record is saved to the platform database. This type of flow is flexible flow as its used more to perform base actions like to send email and perform actions in salesforce org. 

Schedule Triggered Flow :

Schedule trigger flows are one of flow types which can be utilized to schedule certain events to happen at certain time of the day .

Advantages of Schedule Flow:

  • a)      Salesforce admin can schedule the flow to run Once, Daily or Weekly.
  • b)     Automate business requirements
  • c)      Monitor the flows under schedule flows
  • d)     Delete scheduled flows
  • e)     Send emails at certain time of the day to alert users or admins.

 Considerations for Schedule trigger flow : 

  • The Automated Process user runs schedule-triggered flows. Navigate to setup ==> search ==> Process Automation Settings to set the value
  • If a flow is scheduled to run once with a date and time that already passed, the flow doesn’t run.
  • The Start Time field value is based on the Salesforce org’s default time zone.
  • A schedule-triggered flow starts at the specified time and frequency. You can’t launch a schedule-triggered flow by any other means.

 

Platform-Event Triggered Flow :

Platform event-triggered flow launches when a platform event message is received. When invoked this  flow runs in the background.

Autolaunched Flow ( No Trigger ) :

Auto-Launched Flow -This flow version type does not require any UI elements like screen flow for user interaction; this flow is auto launched when a record is changed while inserting, updating, or deleting. Auto launched flow is triggered when invoked by Apex, processes, REST API . This auto launched flow runs in background. 

The types of auto launched flows are : 

  • Autolaunched flow with a schedule trigger
  • Autolaunched flow with no flow trigger
  • Autolaunched flow with a record trigger


Comments

Popular posts from this blog

TrackWise Digital - DMS Application - How to Override and make changes to locked EFFECTIVE Document using Flows and Invocable method.

Document management systems (DMS)   is one of the known solutions pharma organization use to manage their internal quality processes and store/ track all documentation related to quality. By using cloud-based product we have advantages over documents getting lost, outdated version rendered to stakeholders, irregular audit tracking like who made the changes and when. These qualities are necessary for good quality software as part of internal adulting process. The document are uploaded into the DMS system by DMS administrators. The document must go through a pre-defined workflow review process before it is made EFFECTIVE and made available for end users for training reference. The workflow lifecycle for DMS workflow approval cycle includes a) Draft, b) In Review, c)Under Approval and d) EFFECTIVE. Once the document is EFFECTIVE, the document is locked for further editing. The document is later used for internal training and can be printed and shared with internal users for performing...

TrackWise : E-Signature doesn't work

If you are on Trackwise Digital [TWD] Platform Summer 23 or highier and come across an error ' E-Signature doesn't work ' for username / password with OAuth connected app . Check the Login History of the user and confirm you see the error ' Username-Password Flow Disabled ' . If this happens then you need to enbale the ' OAuth Username-Password Flows ' which will be disabled by default for Summer 23 platform or highier . Steps to enable : 1. Setup ==> search ==> OAuth and OpenID Connect Settings 2. Enable - Allow OAuth Username-Password Flows Reference https://lnkd.in/giVuzGbs

Salesforce Rebate Management Tool – Streamline Your Rebate Process

Salesforce Rebate Management tool is a powerful tool for businesses to streamline their rebate process. It helps businesses to manage their rebate program more efficiently by automating the entire process. The tool helps businesses to provide rebates to their customers based on their purchases, which ultimately helps businesses to increase their sales and revenue. In this article, we will discuss the benefits of using Salesforce Rebate Management tool and how to set up benefit mapping. Benefits of using Salesforce Rebate Management Tool 1. Automate your rebate process – The tool automates the entire rebate process, from creating rebate offers to calculating payouts, which saves time and eliminates manual errors. 2. Increase customer loyalty – By offering rebates to your customers, you can increase their loyalty and encourage repeat purchases. 3. Improve sales performance – The tool helps businesses to increase their sales performance by incentivizing their sales team to sell more pro...

TrackWise Digital : ' The post install script failed ' Salesforce Error

A Document Management System (DMS) is Sparta TWD managed package application which is used to manage all corporate document with activities such as create, edit, upload, and manage the corporate documents. The application comes with pre-defined workflow process like review and approval process which could be used to make document effective before the document is made available to all the business users. The TrackWise Digital Platform application must be installed for DMS to work, and TWD platform application must be installed prior to installing DMS application. With Salesforce has three major releases per year, Sparta also releases 3 releases in a year with major enhancements and features. With such releases more and more features are made available to their customers without impacting business. With DMS packaging being upgraded thrice a year there could be possibility the administrator could face one of the known errors during DMS package upgrade in salesforce orgs which is:...

Salesforce Introduces ‘Hire Me’ Button to facilitate Hiring in Salesforce ecosystem.

Salesforce’s new Hire Me button will help simplify how Trailblazers hire and get hired in the Salesforce Ecosystem. Individuals will be able to indicate interest in new work opportunities on their Trailblazer.me Profile, while hiring managers will be able to simply click on the Hire Me button to message and connect with potential job candidates. It’s the quick, easy, and straightforward way to discover and connect with Salesforce experts. The introduction of the Hire Me button will empower Trailblazers to identify as job seekers and to connect with organizations that need their expertise, and to make it easier for hiring managers to connect with potential job candidates.” The initiative by Salesforce is to prepare 20,000 new Trailblazers for jobs in the Salesforce ecosystem by 2028. To begin with displaying a badge to get Hired by prospective employers who can see I'm available for work and directly message you about work opportunities , follow below steps . 1. Login to your trail...