start date end date
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-23-2025 02:46 AM
I would like to implement a restriction where the end date cannot be selected beyond one month from the start date
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-23-2025 02:57 AM
HI @dmahendran
This can be achieved with no code with UI Policies, Please go through below article
Mark it helpful if this helps you to understand. Accept solution if this give you the answer you're looking for
Kind Regards,
Rohila V
2022-25 ServiceNow Community MVP
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-23-2025 03:08 AM
I couldn’t find a solution that meets my requirement of restricting the user from selecting an end date beyond one month from the start date. I would appreciate it if you could provide further guidance on this.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-23-2025 03:41 AM - edited ‎06-23-2025 03:42 AM
Hello @dmahendran , you can write UI policy as depicted below followed by UI policy action.
UI Policy:
UI policy Action:
Regards,
Nishant
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-23-2025 04:00 AM
@Nishant8 Thanks for the response,
The restriction is role-based, and since UI Policies don’t support role-based conditions, this needs to be managed differently. Along with that, we also need to prevent users from selecting an end date more than one month after the start date