Flow Action - Show Duplicates

Last published at: 2022-02-11 10:29:14 UTC
Delete

The Flow Action feature is available in the Premium Edition.

Delete

The Flow Action "Show Duplicates" allows you to return potential duplicate records in a screen flow based on a Search Result.

Step 1 Use the Find Duplicate by ID flow action to generate a Search Result output

To use the Show Duplicates flow component, first find duplicate records in the Find Duplicates by ID, or Find Duplicates by Field Values flow action. The Search Result output that is generated serves as input for the Show Duplicates component.

Step 2 Use the "Show Duplicates" flow action

  1. Open the Lightning Flow Builder.
  2. From the Elements section, drag a new screen component from the Toolbox. 
  3. At "API Name", define an API name for the screen component. 
  4. At "DC Search Result", pick the Search Result variable gathered from the Find Duplicate by ID or Find Duplicate by Field Value flow action.  
  5. Click Done. 

Step 3 Connect your action to the Start trigger

Make sure the actions are connected to the start trigger. 

In this example, we're first searching for duplicates records based on the Find Duplicates by ID flow action, after which the duplicate results are shown in a screen, using the Show Duplicates screen component

Step 4 Run the flow

Run the flow by clicking "Run". 

The "Duplicates Found - Please review them below" text can be customized at DC Setup - Settings.