MyrionSC2
MyrionSC2

Reputation: 1318

Set variable as empty string in logic apps

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

Upvotes: 4

Views: 6809

Answers (3)

SeanM
SeanM

Reputation: 21

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

Upvotes: 2

amac44
amac44

Reputation: 76

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

Upvotes: 5

George Chen
George Chen

Reputation: 14324

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

Upvotes: 1

Related Questions