Salesforce Fact #743 | Multiple reset passwords from screen flow

We can create a screen flow for admin users to help them reset passwords for multiple users at once. Also, an invocable apex method is needed.

Attached are the screenshots.

Note: Each call to System.resetPassword() counts as 1 DML statement.






Comments

Popular posts from this blog

Salesforce Fact #192 | Call batch apex from flow

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