Data type conversion of an attribute in Schema | Community
Skip to main content
Venu_Reddy
Level 6
Nov 16, 2018 8:07 AM UTC
Solved

Data type conversion of an attribute in Schema

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

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Jonathon_wodnicki
Jonathon_wodnickiAccepted solution
New Participant
Jan 18, 2019 9:30 PM UTC

ToInteger().

3 replies

Jonathon_wodnicki
Jonathon_wodnickiAccepted solution
New Participant
Jan 18, 2019 9:30 PM UTC

ToInteger().

Translate
Venu_Reddy
Level 6
Jan 18, 2019 1:40 PM UTC

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

Translate
Jonathon_wodnicki
New Participant
Jan 7, 2019 9:32 PM UTC

Hi,

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

Thanks,

-Jon

Translate