We've updated the ServiceNow Community Code of Conduct, adding guidelines around AI usage, professionalism, and content violations. Read more

Flow Designer String to Date

purdue
Kilo Sage

Hello,

 

I am trying to convert a single line text variable to date field on user form.   I tried the built in flow designer transform string to date but I get this error.  STRING_TO_DATE with name com.glide.transform.adapter.StringToDateAdapterRule: Date format does not match date to be transformed or input is not a string date/time:.   The date format on the variable is YYYYMMDD I want to convert this SN Date so I used the sn date/time transform but get the error.   Any ideas?

Thanks,

Chad

1 ACCEPTED SOLUTION

vermaamit16
Kilo Patron

Hi @purdue 

 

Set the Tranform function as below and see if it helps :

AmitVerma_0-1724993378388.png

 

I am getting output as shown below with this :

AmitVerma_1-1724993432712.png

 

Thanks and Regards

Amit Verma

Thanks and Regards
Amit Verma

View solution in original post

1 REPLY 1

vermaamit16
Kilo Patron

Hi @purdue 

 

Set the Tranform function as below and see if it helps :

AmitVerma_0-1724993378388.png

 

I am getting output as shown below with this :

AmitVerma_1-1724993432712.png

 

Thanks and Regards

Amit Verma

Thanks and Regards
Amit Verma