I have a requirement to convert a string variable to generic type
1 Like
Hi @dextern19
Welcome to community
You can use the Assign activity or the CType function to convert a string variable to a generic value variable in UiPath.
if you have a string variable called StringVariable, you can use any of these expressions:
• GenericValueVariable = StringVariable
• GenericValueVariable = CType (StringVariable, GenericValue)
Regards
Nikhil
1 Like
Hey @nikhil.girish
Thanks for the info
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.