cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Bill_Hand
Level 8

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
Highlighted
Bill_Hand
Level 8

Re: Assign variables from Search function

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

 

THanks

View solution in original post

2 REPLIES 2
Highlighted
Bill_Hand
Level 8

Re: Assign variables from Search function

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

 

THanks

View solution in original post

Community Support Team
Community Support Team

Re: Assign variables from Search function

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
thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

firstImage

Incoming: New and improved badges!

We've given our badges an overhaul and also added some brand new ones!

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

sixthImage

Power Platform World Tour

Find out where you can attend!

seventhimage

Webinars & Video Gallery

Watch & learn from the Power Automate Community Video Gallery!

Top Kudoed Authors (Last 30 Days)
Users online (6,792)