How To

Look It Up in a Flow Screen

(Note: This blog posts only covers how you configure a lookup component for use in a screen flow and how to reference the lookup value selected by the user, and not all the steps to complete the flow.) With Winter ’20, Salesforce introduced a standard lookup component for use in a screen flow. Now, you can… Continue reading Look It Up in a Flow Screen

How To

Using Dependent Picklists in Screen Flows

(Note: This blog posts only covers how you configure a dependent picklist for use in a screen flow and how to reference the picklist values selected by the user, and not all the steps to complete the flow.) With Winter ’20, Salesforce introduced a standard dependent picklist component for use in a screen flow. Now, depending… Continue reading Using Dependent Picklists in Screen Flows

How To

Schedule a Flow

In the Winter ’20 release, Salesforce introduces scheduled flows. Now, you can schedule flows to run create scheduled batch jobs declaratively, specifying when the date/time the flow will run and the frequency of the scheduled flow (once, daily, weekly and monthly) and provide additional filter conditions for the records. Here are some things to note… Continue reading Schedule a Flow

How To

Flow Screen: This error occurred: MIXED_DML_OPERATION

So, you built a flow that you think will work wonderfully just to get the following error when you run debug on your flow: “This error occurred: MIXED_DML_OPERATION: DML operation on setup object is not permitted after you have updated a non-setup object (or vice versa): Account, original object: User.” Bummer. But you need this… Continue reading Flow Screen: This error occurred: MIXED_DML_OPERATION

How To

Delete Salesforce Records Associated via a Lookup Relationship Using Clicks, Not Code

There may be situations where you need to delete related records when you delete the main record. In a master-detail relationship, this is done for you. Deleting the master record, deletes all detail records. However, in a lookup relationship, if you delete the lookup record, the associated records remain. This would result in orphaned records,… Continue reading Delete Salesforce Records Associated via a Lookup Relationship Using Clicks, Not Code

How To

Access Classically Encrypted Fields Using Flow

Note: This flow solution runs only in Lightning Experience. Ever have a need to take action on changes on a classically encrypted field? Your only option is not a trigger. Did you know that flow has the ability to read classically encrypted fields too? YES! The flow built in this blog post shows the ability… Continue reading Access Classically Encrypted Fields Using Flow

How To

Run Flow Using a Hidden Flow (Blank Flow Screen)

Note: This flow solution runs only in Lightning Experience. Have you ever wanted to use flow but your use case doesn’t call for any user interaction, you don’t want your flow to execute on a button or quick action click? Do you have a situation you are automating but can’t use process builder because you… Continue reading Run Flow Using a Hidden Flow (Blank Flow Screen)