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:44 AM
Hi @nunavathv
It’s not easily achievable because there's no way to track what the previous state was before the current one, and we typically use metrics for that. It might be better to add some validation instead of setting it up this way.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-21-2025 12:23 AM
2 things involved
1) use onChange client script or UI policy on date field to only allow future date
Create a UI policy with condition as Your Date Field is before today.
Navigate to Script section & under if script evaluates to true u can write this
alert("Past Dates cannot be selected");
g_form.clearValue('dateField');//use proper backend value
2) you can use before update business rule and set the state value, condition Your Date Field CHANGES
current.state = previous.state;
If my response helped please mark it correct and close the thread so that it benefits future readers.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-19-2025 12:41 AM
Hope you are doing good.
Did my reply answer your question?
If my response helped please mark it correct and close the thread so that it benefits future readers.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-23-2025 04:14 AM
Hope you are doing good.
Did my reply answer your question?
If my response helped please mark it correct and close the thread so that it benefits future readers.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-02-2025 02:16 AM
Hope you are doing good.
Did my reply answer your question?
If my response helped please mark it correct and close the thread so that it benefits future readers.