Use Case: Add Clone Button To Each Record In A Related List

If you migrated from Classic to Lightning, you must have suffered from the slower loading speed at least once. As an admin, it is then crucial to create some shortcut to save the clicks for your users. To add a custom button for each record in a related list will be a great example for saving time.

Dropdown for each record in a related list

Sadly there is no out-of-the-box functionality for us to add buttons in the drop-down at the moment. However, this can be achieved through flow! We just have to be a little more creative.

This flow is applicable to cloning of all kinds of objects, and can be put in either each row of a related list, or on the upper-right drop-down of a detail page.

Lulu Mobile uses standard Account and Case objects to track their support tickets. They often receive similar cases from each customer, so they would like to have the functionality to clone cases without having to change too many fields. The main fields that will be different are Subject, Description, and Internal Comments, while the rest can just be cloned without even showing on the screen. They want the clone button to appear on each record in a related list, so they don’t need to click into each case’s detail page.

As we cannot add custom buttons in the drop-down for each record, we can achieve this by having a formula field which will launch a screen flow.

Solution flow chart

Screen FlowAssignmentVariable
Flow URLCreate RecordsInput
Screen ElementRecord Id
Screen Component - TextFormulaFormula
Screen Component - Long Text
Screen Component - Display Text

Does the solution solve your problem? If not, write us what your problem is and we will build the flow for you!

Official Salesforce Help Article On Flow

Notify of

Newest Most Voted
Inline Feedbacks
View all comments

Quick question, but on slide 6 how can I pass the URL in? Seems like I need to create a variable that holds the URL expression? Would be helpful if you can post a screenshot showing what you did there.


Hi Melody, thanks! I’m using a URL component in that Done Screen element and added the URL to the value field. It does display the URL correctly, but it’s not a hyperlink, just text. What am I doing wrong?


Awesome, it works! Thank you! I have a pretty immediate use case for this flow to handle returning customers.