Workflow to lock an account after 180 days
Original Question or Issue:
Create a workflow where a user's account is locked if it hasn't been logged in for 180 days. Notify the user by email 7 days before the lock.
Environment:
- Product - FileCloud Server
- Version - Any
- Platform - Any
Steps to Reproduce:
Error or Log Message:
Defect or Enhancement Number:
Cause:
Resolution or Workaround:
Please note that you have to define two workflows to achieve the described behavior:
-
A workflow that will notify users after 173 days without login to the system.
-
A workflow that will disable the user after 180 days without login to the system and send an email to both the User and the Admin.
Notes:
If the criteria are met, the notification is sent daily, but you can change the workflow parameter "day_interval" to control how often it is sent.
Also, it's better to change the workflow parameter "user_account_type" to FULL, GUEST or LIMITED. Otherwise, if you use USER_ACCOUNT_ANY, even disabled accounts will receive the notification.