cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Advocate III
Advocate III

Assign variables from Search function

If I have a JSON Object like

{

Name=Type,

Value=Sensitive

},

{

Name=State,

Value=NY

}

 

Could I assign the value to a variable based on Name?

 

_myState = NY when Name = State

_myType = Sensitive when Name = Type

 

I hope this makes sense.

 

Thanks

 

Bill

 

 

 

 

 

 

1 ACCEPTED SOLUTION

Accepted Solutions
Advocate III
Advocate III

Nevermind, I worked out a different way to handle it.

 

THanks

View solution in original post

2 REPLIES 2
Advocate III
Advocate III

Nevermind, I worked out a different way to handle it.

 

THanks

View solution in original post

HI @Bill_Hand ,

 

Glad to hear that you have figured this issue.

 

Thanks for updating.

 

Best regards,

Mabel

 

Community Support Team _ Mabel Mao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
Community Conference

Power Platform Community Conference

Check out the on demand sessions that are available now!

MPA Community Blog

Power Automate Community Blog

Check out the community blog page where you can find valuable learning material from community and product team members!

Top Solution Authors
Top Kudoed Authors
Users online (4,192)