- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-20-2021 03:27 AM
Hi,
I need to setup password expiry notifications for users whose password are about to expire 10, 7, 4, 3 and 2 days before.
So I have setup the event, and notification, but I need help with the script in the scheduled script execution.
I have a field u_password_last_set which has the date the password was last set.
The AD password expires 60 days after it has been set. So I need a script which will work out the date 90 days after and send notifications 10 days before that, or work out date 80 days after and send notification then.
The same will need to be done for 7.4.3 and 2 days before expiry.
Please can someone help with this.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-20-2021 03:52 AM
Hi,
why not use flow designer to send reminder email
refer below links for help
Approval Reminder for Approval Records using flow designer
Approval Reminder Notification for Change records using flow designer
Regards
Ankur
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-20-2021 03:52 AM
Hi,
why not use flow designer to send reminder email
refer below links for help
Approval Reminder for Approval Records using flow designer
Approval Reminder Notification for Change records using flow designer
Regards
Ankur
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-20-2021 06:27 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-20-2021 07:21 AM
Hi,
You should be using before instead of after
Regards
Ankur
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-20-2021 07:26 AM
Thanks