Joining date is more than 60 days of todays date
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-18-2024 07:03 AM - edited 03-18-2024 07:04 AM
Hi All,
I have a requirement in catalog:
if joining date is more than 60 days of todays date & Existing device catalog field does not contain any device/empty then set value of Request Type “Existing User Without Asset “ will be displayed.
Need help of How it is implemented .
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-19-2024 04:07 AM
Hello @Aman Trivedi1,
Please refer to the below link:
https://www.servicenow.com/community/developer-articles/date-validations-client-scripts/ta-p/2298860
If it is helpful, please mark it as helpful and accept the correct solution.
Thanks & Regards,
Abbas Shaik
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-19-2024 04:40 AM
Hi @Aman Trivedi1 ,
Please create Onchange Client script, in that calculate the date difference between joining date and today , if condition difference greater than 60days you can write script in there.
Thanks
Arun
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-19-2024 04:41 AM
Hi @Aman Trivedi1 ,
Please create Onchange Client script, in that calculate the date difference between joining date and today , if condition difference greater than 60days you can write script in there.
Thanks
Arun
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-19-2024 04:55 AM
Any Script for Reference