Integration Warning: Unable to apply transform because search criteria has one or more unresolved names Follow
When using one of the Search Actions in an Integration and using Regular Expressions for the search method, you receive the following warning in your logs:
BarTender 2016 and later Integration
BarTender uses % to denote variables in Integrations. The Command script uses two of these, %BTW% and %END%. If your Regular Expression (regex) contains two %, BarTender interprets whatever's between them as a variable and may throw a warning: "Unable to apply transform because search criteria has one or more unresolved names."
If possible, try to avoid using two %. If you must two % symbols, you can use the dot wildcard character in place of the %.
The script in the warning message above, you can remove one of the % symbols and the regex will work properly:
Another example is if you have an expression like this:
BarTender believes anything between these two % symbols is a variable name, and this would be an illegal name for a variable thus the warning.
To correct this regex, you can use the dot wildcard:
Telling BarTender to not use variables
The simplest method is to uncheck the variable checkbox on the action: