Search code examples
azure-logic-appsazure-logic-app-standard

Why can't I set variable name in Logic app(Cannot edit in read-only editor)


I want to create a simple Logic APP in Azure Portal. But I cannot set a variable!

It says "Cannot edit in read-only editor"

enter image description here

I went to Code View because I couldn't type the variable name under Parameters.

How to fix this?


Solution

  • You need to use the Initialize variable operation first (once) before you can use the Set variable, Increment variable, Decrement variable, Append to variable, etc. operations (as many times as needed). You'll be able to select the initialized variables in the Name dropdown box in those operations.

    enter image description here