Change state transition is failing due to filter condition
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-12-2025 04:07 AM
I have a automatic state transition which should move the change req from 'Implement' to 'Review' when the Planned End Date is now or earlier.
I have tried to do this different ways and have tried different variations of the filter conditions but the request stays stuck in Implement. If I remove the planned end date filter and apply something else for testing purposes, that works. The issue is around how to create a condition that looks at the planned end date (date/time field). I have also tried to do it as a transition script with no luck.
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-13-2025 05:07 AM
@Kiran_25 please "Wait for duration" not wait for condition
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-12-2025 06:28 AM - edited 06-13-2025 03:41 AM
you can run a flow with trigger as CHG created
Then it will wait till Planned End Date is reached using "Wait for Duration" flow logic
Once reached it will move the State to next value.
If my response helped please mark it correct and close the thread so that it benefits future readers.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-13-2025 03:37 AM - edited 06-13-2025 03:39 AM
Thanks @Ankur Bawiskar
Do you know which would be the way to build the filter condition so its checking if the planned end date/time is in the past? The condition builder prompts me to enter a date/time but this will be relative depending on when the flow is executed.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-13-2025 03:41 AM
you need to use wait for duration flow logic and not wait for condition.
I updated my above response.
If my response helped please mark it correct and close the thread so that it benefits future readers.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
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.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader