Notify users of expired password.
#
This task flow, needs CrushFTP 8.0.0.1 and an enterprise license to be able to use the "conditional" logic from the jump task and the math variable.
You need to create a new job in the jobs, tab.
Step1 is to read and create the UserList of the users or groups we work with.
So we first link a variable from the user object loaded in step 1, and parse out its date format. Then we do a comparison with that value, versus the current date, minus 1 days worth. If the expire time is sooner than 1 day ago, we send an email. In this task all users that have the password expiration sooner then 7 days will be notified every day for the password update.
Step1: We check if the user's expiration is not set.
Step2: We check if the user has password expiration set so that only these users will be notified.
Step3: Using the math variable we can determine the user expiration time from the current starting time:
{math_start:l}{parse_start:MM/dd/yyyy HH~..~mm~..~ss aa}{expire_password_when}{parse_end}-{now}{math_end}
Step4: true, send email, false, do nothing
Add new attachment
List of attachments
Kind | Attachment Name | Size | Version | Date Modified | Author | Change note |
---|---|---|---|---|---|---|
png |
Jump.png | 153.7 kB | 3 | 29-Dec-2020 05:25 | Halmágyi Árpád | |
png |
Jump2.png | 158.1 kB | 3 | 29-Dec-2020 05:25 | Halmágyi Árpád | |
png |
Jump3.png | 156.3 kB | 1 | 29-Dec-2020 05:25 | Halmágyi Árpád | |
png |
PasswordExpiration.png | 400.3 kB | 4 | 29-Dec-2020 05:25 | Halmágyi Árpád | |
png |
UserVariable.png | 52.7 kB | 1 | 29-Dec-2020 05:25 | Halmágyi Árpád | |
png |
UsersList.png | 113.7 kB | 3 | 29-Dec-2020 05:25 | Halmágyi Árpád | |
png |
email.png | 85.4 kB | 2 | 29-Dec-2020 05:25 | Halmágyi Árpád | |
jpg |
expire_pass_email.jpg | 195.8 kB | 1 | 04-May-2022 19:18 | Ada Csaba | |
jpg |
expire_pass_jump1.jpg | 184.9 kB | 1 | 04-May-2022 19:18 | Ada Csaba | |
jpg |
expire_pass_jump2.jpg | 186.0 kB | 1 | 04-May-2022 19:18 | Ada Csaba | |
jpg |
expire_pass_overall.jpg | 468.7 kB | 1 | 04-May-2022 19:18 | Ada Csaba | |
jpg |
expire_pass_userlist.jpg | 135.7 kB | 1 | 04-May-2022 19:18 | Ada Csaba | |
jpg |
expire_pass_uservar.jpg | 121.0 kB | 1 | 04-May-2022 19:18 | Ada Csaba |