Skip to content
English
  • There are no suggestions because the search field is empty.

Workflow to lock an account after 180 days

How do I automatically lock a user account after 180 days of inactivity and send a warning email 7 days before?

To lock a FileCloud Server user account after 180 days without login and notify the user 7 days in advance, create two separate workflows: one that sends a warning email at 173 days of inactivity, and one that disables the account and notifies both the user and the admin at 180 days.

Environment

  • Product: FileCloud Server
  • Version: Any (verify parameter names against your installed release — see Notes)
  • Platform: Any

What two workflows are required?

Create the following two workflows in FileCloud Server:

  • A workflow that notifies the user after 173 days without login (7 days before the account lock).
  • A workflow that disables the user account after 180 days without login and sends an email notification to both the user and the admin.

How do I create workflow 1: pre-lock notification?

  1. Log in to the FileCloud Admin Portal and navigate to Workflow.
  2. Click Create New Workflow.
  3. Set the trigger to a scheduled, time-based trigger (for example, daily).
  4. Add a condition: last login is greater than or equal to 173 days ago.
  5. Set the user_account_type parameter to FULL, GUEST, or LIMITED (see Notes below).
  6. Set the day_interval parameter to control how frequently the notification is re-sent once the threshold is met (default: daily).
  7. Add an action: send an email notification to the user stating that their account will be locked in 7 days due to inactivity.
  8. Save and enable the workflow.

How do I create workflow 2: account disable and notification?

  1. In the FileCloud Admin Portal, navigate to Workflow and click Create New Workflow.
  2. Set the trigger to a scheduled, time-based trigger (for example, daily).
  3. Add a condition: last login is greater than or equal to 180 days ago.
  4. Set the user_account_type parameter to FULL, GUEST, or LIMITED (see Notes below).
  5. Add an action: disable the user account.
  6. Add an action: send an email notification to the user stating that their account has been locked due to inactivity.
  7. Add an action: send an email notification to the admin listing the accounts that were disabled.
  8. Save and enable the workflow.

Notes

  • Set the user_account_type parameter to FULL, GUEST, or LIMITED. Using USER_ACCOUNT_ANY will cause already-disabled accounts to receive notifications, which is not the intended behavior.
  • When the inactivity threshold is met, the notification is sent daily by default. Adjust the day_interval parameter to change how often it is sent.
  • The parameter names day_interval and user_account_type, and the values FULL, GUEST, LIMITED, and USER_ACCOUNT_ANY, are version-specific. Verify these identifiers against your installed version of FileCloud Server release notes.