Date Validation + Record Producer + Client Script + Script Include
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-29-2022 12:51 AM
Hi Everyone,
I have a requirement related to Date Validation, where I have a Date Field name (New Expiry Date) which should not be less than the valid until date of a project.
So far I have this record producer where I have a "project_name" reference field and if you dot walk to this field, you will get the "valid until" date field which I need to compare if the "new expiry date" date field in my record producer is less than the "valid until" date.
As researched, you need to use GlideAJAX, client script and script include to it so you will be able to run server side script with your client script.
Acceptance Criteria:
New Expiry Date !< project_name.valid_until
Hope you can help me.
Thanks in Advance!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-31-2022 08:17 PM
Thank you for marking my response as helpful.
If my response helped please mark it correct and close the thread so that it benefits future readers.
Regards
Ankur
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader