Data type conversion of an attribute in Schema | Community
Skip to main content
Venu_Reddy
Level 6
November 16, 2018
Solved

Data type conversion of an attribute in Schema

  • November 16, 2018
  • 3 replies
  • 3815 views

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.
Best answer by Jonathon_wodnicki

ToInteger().

3 replies

Jonathon_wodnicki
Community Advisor
Community Advisor
January 7, 2019

Hi,

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

Thanks,

-Jon

Venu_Reddy
Level 6
January 18, 2019

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

Jonathon_wodnicki
Community Advisor
Jonathon_wodnickiCommunity AdvisorAccepted solution
Community Advisor
January 18, 2019

ToInteger().