Salesforce Fact #570 | Delete selected related records using screen flow datatable

With the new datatable feature in screen flow, we can create an automation to selectively delete related records from the parent record.

In this example, we are showing the related contacts in the datatable inside screen flow and the user can choose and delete particular contact records. The flow is invoked as quick action from the account record detail page.

Note: This will work fine when the number of related records are not very high, else this will encounter limit errors.

Attached are the screenshots.











Comments

Popular posts from this blog

Salesforce Fact #192 | Call batch apex from flow

Salesforce Fact #457 | Get current user role name in flow