Generic value

Hii everyone
I have issue to assign generic value variable in the code
how to do that ?
Thankyou :slightly_smiling_face:!

@Arivu
check this document its about generic value variable

you can assign the values in variable panel with datatype

Hi @Arivu

Is it getting any error?

myGenericValueVariable = 100  ' For integer
myGenericValueVariable = "This is a test"  ' For string
myGenericValueVariable = 123.45  ' For double
myGenericValueVariable = Now ' For DateTime

Regards,

@Arivu,

What’s the issue?

Hi @Arivu ,

In Studio , goto your variables panel create your variable with the name you want it to have for example, GenericVariable1 and set the data type to “GenericValue” if it is not available for you in the drop down then click browse for more and search and select ‘UiPath.Core.GenericValue’ as data type for that variable.

Hope this helps you resolve.

Happy Automation.!

Thanks,
Gautham.

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.