Flow Designer not recognizing Date in Condition

Allen12
Tera Guru

I am trying to select a condition to look for date changes not done in last 90 days.

the variable referenced is "Last patch date" which should be a Date/Time variable.

Allen12_0-1668179035267.png

When I try to setup a condition for that table it looks at it as a "String"? and doesn't give me the option to set after 90 days like the "created" variable does. What do I need to fix this?

 

Allen12_1-1668179129575.png

 

Allen12_2-1668179205546.png

 

 

1 ACCEPTED SOLUTION

Sagar Pagar
Tera Patron

Hi @Allen12,

 

Your last path date is not date/date-time field type. Its String type field.  Hence the operators is showing for String type.

 

To fix this you have to change its type to Date/Date-time. May be you can create new one and replace it with existing everywhere. Or just change its type.

 

Thanks,

Sagar Pagar

The world works with ServiceNow

View solution in original post

2 REPLIES 2

Sagar Pagar
Tera Patron

Hi @Allen12,

 

Your last path date is not date/date-time field type. Its String type field.  Hence the operators is showing for String type.

 

To fix this you have to change its type to Date/Date-time. May be you can create new one and replace it with existing everywhere. Or just change its type.

 

Thanks,

Sagar Pagar

The world works with ServiceNow

Aman Kumar S
Kilo Patron

Seems strange, is this a newly created field?

Did you check in other configuration component how it looks like, lets say filter condition in the list layout or filter condition in business rule.

 

Best Regards
Aman Kumar