How do I check if catalog variable date is between today and 7 days from today
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2 hours ago
I have a requirement to check if a catalog variable date is between today and 7 days from today. I haven't found a way to do it with catalog policies. Does anyone have a solution for this that they can share with me? I would appreciate it if in addition to what needs to be done, if you could share how it's done. Thank you.
1 REPLY 1
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2 hours ago
You could utilize catalog client scripts that run while the user fills out the catalog item. See this article with script examples: https://www.servicenow.com/community/developer-articles/date-validations-client-scripts/ta-p/2298860
