Salesforce Fact #217 | Delete debug log from screen flow

Suppose we need to delete the debug log for certain user. Now we cannot do delete DML on ApexLog records from apex.

Well, Salesforce flow again to the rescue. We can have a screen flow to select the user and start time, based on which we can use delete records element to delete the debug logs.

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