Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

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

Amit Verma
Kilo Patron
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


Please mark this response as correct and helpful if it assisted you with your question.

View solution in original post

1 REPLY 1

Amit Verma
Kilo Patron
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


Please mark this response as correct and helpful if it assisted you with your question.