Use an enumeration variable in uiPath


#1

Hey,

I need to declare an emum with three levels LOW, MED, HIGH. How do i do this with uiPath? Which data types to use and how to declare a variable of that data type?

Also, need to know how to use the values declared within the enum. For example, I would like to declare a variable at integer (say called currentLevel) and assign it to any of the LOW, MED or HIGH. How to do this?

Thanks,
Sarika


#2

Sarika try to create UiPath.Core.GenericValue and assign to LOW, MED or HIGH.
image