Disappearing double quote inside if function

What are you trying to achieve?

I have a problem with double quotes in the if function. I use this expression:

{{if(3.results[15].value!=null;'"'3.results[15].value'"';null)}}

It has been translated into the first image.

This is exactly what I need. Unfortunately, after saving the module, the double quotes disappear. When I run the scenario, the double quotes are not included in the output bundle. Then, when I reopen it (the module), there are no double quotes in the expression, like in the second image.

How can I prepare this expression to include these outer double quotes literally as a " ?

Thanks a lot in advance.

Screenshots: scenario setup, module configuration, errors

img.png
img2.png

Hi @Lukasz_Chojnacki - it’s a bit of a hack job, but you can try “wrapping” them with {{emptystring}}:

{{emptystring}}"YOUR_VARIABLE_HERE"{{emptystring}}


Some other variations:

  1. Use an additional character, e.g. \" and then replace it with "

  2. Use "{{+}}" - this will strip one quotation mark and leave the other, but you’ll have to re-enter it like this manually every time:

(I feel like this used to work simply by using {{+}} without the double character but maybe something changed with how they strip characters in formulas)


Cheers,
Sierra