Disable User Flow

Here is a quick and easy flow to disable users accounts in Salesforce.

Create a new screen flow, it will have these elements when completed:

Add a screen element

Give the header a name:

Add a message to display (Display Text component):

Add a picklist component:

Configure the choice set (type = Record):

Filter out those that are inactive or have no company name to exclude the built in accounts.

Add an Update Record element:

Save, activate and run the flow:

Get more great training resources with our online training material providing everything you need to get certified:

  • Salesforce Administrator
  • Salesforce Platform App Builder
  • Salesforce Advanced Administrator
  • Salesforce Sales Cloud Consultant

Visit our online training site at CertifyCRM.com

3 comments on “Disable User Flow”

  1. Daryl Moon says:

    Hi Jeremy, you could add a global quick action to call this flow from anywhere. To work out why your flow is not working, run it in debug mode (within the flow) and analyse each step to see if you are passing and receiving back the correct values you expect. You can also enable the debug log as well and you can get finer-grained info with that.

  2. Jeremy says:

    I created a new action and set it on the Account page layout. When I select the User and hit the next button it loads and nothing happens. The user is still active. Please advise.

  3. Jeremy says:

    Daryl,

    From where do users access this flow? Is it going to reside in some page? If so, which one? How do we specify that?

Leave a Reply

Your email address will not be published. Required fields are marked *