change date on change the duedate field on incident
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-21-2025 12:10 AM
The date field should allow only future dates, and the state field should also change accordingly.
When a future date is selected, the state should automatically revert to the previous state it was in before the date change.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-21-2025 12:17 AM
Hi @nunavathv
It involves two steps:
-
Create a UI policy that ensures the due date is not earlier than the current date. Add an error message if the user selects a past date.
-
Create a Business Rule that triggers as soon as the date is set to a future date, setting the state to 'In Progress'.
When a future date is selected, the state should automatically revert to the previous state it was in before the date change.
Atul: Need more details.
Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/dratulgrover [ Connect for 1-1 Session]
****************************************************************************************************************
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-21-2025 12:29 AM
current date is due date if the due date is changed to the future then the sate of incident should be the previous sate(befor onhold)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-21-2025 12:33 AM
Hi @nunavathv
You can use a 'before' Business Rule to set the state, but I think you're aiming for something more complex. From what I understand, the state should be 'In Progress,' then 'On Hold,' and the state should return to 'In Progress' if the conditions are met. Is that correct?
Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/dratulgrover [ Connect for 1-1 Session]
****************************************************************************************************************
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-21-2025 12:36 AM
yes
