Question:
I used the variable notation {{nase_promenna}} in my email, which we use in our system. The email wasn’t sent in Boldem and an invalid variable error occurred. Why does this happen and how can I fix it?
Exception: <input>(1,10362) : error : The function `Hello` was not foundAnswer:
Our system uses templates written in the Scriban language, where an entry like {{promenna}} is interpreted as a system variable to be replaced with a value. If the variable doesn’t exist, it will be treated as invalid and the email won’t be sent.
If you want a variable’s text to appear literally (without being evaluated), you must use a special escape notation. For example:
- To display the text:
{{vase_promenna}}. - You must enter it as:
{%{{{vase_promenna}}}%}.
This ensures the text appears exactly as you intended, without being interpreted as a variable in Boldem.