You are viewing limited content. For full access, please sign in.

Question

Question

Workflows- Getting a Conversion error between a longint field and SQL int field

asked on March 8, 2023

Hello,

We have a workflow that pulls in a ck number from quick fields, then goes off to find the vendor that matches it.

The field in the template is a long int.

The column in the SQL view is int.

The process used to work then one day just stopped. Error is occurring during the query data source step.

the error is Conversion failed when converting the narvrchar vaule %(retreveFieldValuesCheckNumber_CheckNumber) to data type int.

I have attempted to resolve this issue by adding a token after return data type, and setting that token to  non string values (tested with number & long int) with the same error. Why is the field getting pulled in as a string?

Thank you for your time,

Tabby

 

0 0

Replies

replied on March 8, 2023

What is the value? That's SQL's generic error for "this value does not match the data type you're trying to use".

0 0
replied on March 8, 2023

It would be what ever number the check was 24514 or 128.

0 0
You are not allowed to follow up in this post.

Sign in to reply to this post.