Set variable as empty string in logic apps

Viewed 3127

How can I set variable as empty string in logic apps?

If I set no value in Value field I get "Error: Failed to save logic app. Definition contains invalid parameters." enter image description here

If I set quotationmarks in Value field, I get a pair of escaped quotationmarks in output:

enter image description here

3 Answers

One workaround is to set it to trim(' ')

Set it to another var initialised which was set as null (no value)

If you want to set the empty value you need go to the Code view and set the value to " "(double quotation marks with a blank space) like below picture.

enter image description here

enter image description here

Related