The Zurich release has arrived! Interested in new features and functionalities? Click here for more

Change state transition is failing due to filter condition

Kiran_25
Tera Expert

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.

 

thrsdy1512_0-1749726380223.png

 

 

Thanks

9 REPLIES 9

@Kiran_25 please "Wait for duration" not wait for condition 

Ankur Bawiskar
Tera Patron
Tera Patron

@Kiran_25 

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.

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

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.

 

thrsdy1512_1-1749811039160.png

 

@Kiran_25 

you need to use wait for duration flow logic and not wait for condition.

I updated my above response.

AnkurBawiskar_0-1749811254399.png

 

If my response helped please mark it correct and close the thread so that it benefits future readers.

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

@Kiran_25 

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.

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader