A percent sign is used as a special character in Automate to indicate the beginning and end of an expression. For example: %1+1% inside a task will resolve to 2 at runtime. To send a literal percent sign simply escape the percent character.
- To send the text "5%" specify "5%%"
- At runtime the double percentage signs will be recognized and converted into one.
- Doubling the percent sign is known as "escaping the percent sign."
Concatenating Two Values in an Expression
In some cases, it is necessary to concatenate two variables, functions, or some combination thereof. In this case it is critical to remember that two percent signs always mean a literal percent. So the following will not work:
- %variable1%%variable2% (NOT ALLOWED)
At runtime Automate would actually see the following "expression":
Which would result in a Syntax Error. The proper way to combine two values in an expression is to use the ampersand (&) character as follows:
This will properly concatenate the two values.
Applies To: Automate 5, Automate 6
Last Modified On:
No, open a new Support Case
You don't have the appropriate permissions.