Parsing "long int" or LongInteger from string in expression engine

#1

We have a source type with a field versionNumber : string. We need to transform it to a field on our entity version : long int. We are using the ExpressionEngineFunction library functions and do not seem to get anything other than a Double. Are we missing something or do we need to use a javascript transform to accomplish this?

0 Likes

#2

Wasn’t clear on when C3 will attempt to type cast from the source to target, so by simply doing nothing and setting the value from the source system in the tranz like version : ~ expression "versionNumber" resulted in a long int result.

0 Likes