Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

SOLVED

Data type conversion of an attribute in Schema

Avatar

Community Advisor

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

Community Advisor

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().