knowdotnet
knowdotnet

Reputation: 925

Define multiple variable of same datatype in Azure Logic Apps

I am creating a Azure Logic App. I need to Define multiple variable of same datatype. What is the quickest / good way to define it. I tried code view to add more variables but seems its not supported yet:

enter image description here enter image description here

Upvotes: 0

Views: 2474

Answers (1)

AdAstra
AdAstra

Reputation: 1984

What is the purpose of all the variables except for the obvious to store the data? My question is. Is it possible to parse the data into dynamic content by a Parse JSON action which a schema to store them as dynamic content with type string?

Otherwise, you will have to add multiple Initialize Variable actions after each other.

You could also store the data in a Variable array and work with it from there. Store it in an array and if you prefer Javascript inline Code

Store Array with append Array Variable action

Upvotes: 3

Related Questions