Breadcrumbs

Detect and Disable Inactive Users Workflow

 This workflow recipe disables a user when the user is no longer active and notifies the user through email once the account is deactivated.

  • The last login date of the user is used to know if the user is Active or Inactive.  

  • You can avoid looking at users who have not begun using FileCloud. 

  • You provide the email ID's to which a report of disabled users is sent.

To create a workflow that detects and disables inactive users: 

  1. Login to Admin Portal

  2. Navigate to Workflow on the left navigation

  3. Click the Add Workflow button

  4. Set the If Condition " If a user's last login is older than.. "

    image2017-2-7_15-43-52.png
  5. Enter the required parameters in the given format.

    { 
    "last_login_days_ago":30,
    "user_account_type":"USER_ACCOUNT_ANY",
    "day_interval":1 
    }
    
    2023-03-31_12h44_44.png
  6.  Click Next, and set the Then Action to " Disable user account ".
    image2017-2-7_15-52-52.png

  7. Enter the Required parameters in the given format.

    { 
    "comma_separated_email_id":"admin@abccompany.com,hr@management.com"
    }
    
    DisableUser.png
  8.  Click Next, give an appropriate workflow name and click Finish.
    image2017-2-7_15-55-54.png

  9. The user accounts are disabled and the notifications are sent once the workflow is executed. Detect and disable inactive users.PNG

    Detect and Disable Inactive Users-2.png

  10. Go to the users list to confirm that the users are disabled.
    disabled user.png