In Azure Logic Apps, variables are used to store and manipulate data within a workflow during its execution. Variables are useful for holding values that you need to reference multiple times, perform calculations on, or use in conditional logic. They are typically used to simplify workflows and make them more flexible.
Logic Apps enforces specific naming rules for variables to ensure consistency.
Variables name size and restrictions
- Name length:
- The minimum length for a variable name is 1 character.
- The maximum length for a variable name is 80 characters.
- Unique name across workflow:
- The variable name must be unique within the Logic App (workflow).
- Allowed Characters:
- The variable name can contain alphanumeric characters and symbols.
- Variable Name Restrictions:
- The name cannot be empty and cannot end with a whitespace character or a period (‘.’) character. However, these are allowed in the middle or at the beginning.
- The name cannot contain any control characters or any of the following symbols:
- \
- <
- >
- %
- &
- ?
These rules are equal for Logic App Standard and Consumption.
To lazy to read? We’ve got you covered! Check out our video version of this content!
Hope you find this helpful! If you enjoyed the content or found it useful and wish to support our efforts to create more, you can contribute towards purchasing a Star Wars Lego for my son!