Expand my Community achievements bar.

Adobe Campaign User Groups are live now. Join our Adobe Campaign User Groups and connect with your local leaders!
SOLVED

Data type conversion of an attribute in Schema

Avatar

Level 8

Hello,

I want to modify the datatype of attributes in a schema with out changing the schema structure.

Like (string --> int/long) or (int/long --> string)

I tried to convert the datatype of an attribute in update activity in the workflow by using the expression fileds (toString()) and no luck.

Is there any possibility to achieve this task?

Regards,

Venu

1 Accepted Solution

Avatar

Correct answer by
Community Advisor
3 Replies

Avatar

Community Advisor

Hi,

The ToString() expression should work, what's the error you're getting?

Thanks,

-Jon

Avatar

Level 8

Hi Jon,

Thank you for the update.

We can able to convert the data type of an attribute from int to string but not String to int/long.

Is there any possibility of converting the datatype from String to int/long.

I will appreciate your help.

Regards,

Venu

Avatar

Correct answer by
Community Advisor

ToInteger().