UiPath Naming Convention
Question: Which of the following is a valid UiPath variable name?
Naming Conventions Answer
One1MillionDollars would qualify as a correct answer to the UiPath practice exam question.
Correct UiPath Variable Names
Get familiar with this RegEx expression. It’s what’s used by the UiPath Analyzer.
([A-Z]|[a-z])+([A-Z]|[a-z]|[0-9]). That’s all you really need to know.
A variable name complies with this RegEx rule if it starts with any upper or lower case letter and is then followed by another upper or lower case letter. Any number of numbers and letters can come after that.
A correct UiPath varaible name can have letters and numbers. Special characters like
$ are not allowed. Nor can a variable have a number in the first two letters.
One1MillionDollars is the only UiPath variable name that passes muster on this UiPath Associate mock exam question.
UiPath Varianble Naming Options:
Along with the requirements for which characters are valid in a UiPath variable, it is important to know the lecicon pertaining to UiPath variable names. So before you do any UiPath Studio development, know the following terms:
- Snake_Case and SCREAMING_SNAKE_CASE