Salesforce Fact #565 | Mass close open tasks using flow

Suppose we need to close all open tasks at once for multiple records. Why not have a flow automation for this.

In order to implement this, we can have a screen flow which can be reused across multiple objects and which will be invoked from the list view button. We can pass the objectCode as an input variable value which would be used for navigating back to the list view page on completion of the flow and also we can pass an input variable which will denote whether WhatId/WhoId needs to be considered.

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