Skip to main content

Notifications

Announcements

No record found.

Customer experience | Sales, Customer Insights,...
Unanswered

Extract elements from array and then update their fields using Logic Apps

Posted on by 75

I wish to grab the elements in the Feedbacks array and then update two fields within that ids array:

 

"Feedbacks":

        [

                {

                   "ids": "1234"

                }

               {

                 "ids": "4567"

                }
     ]

update this

"id":"1234"
"Features":

  [

          {
             "id": "change this"
             "status": "change this"
          }

   ]

"id": "4567"
"Features": 

 [

       {

        "id": "change this"
       "status": "change this"

       }


]

I believe I may have to do this, does this look correct please, is this the correct approach?

Create two local variables that will update status and id.

I am seeing that I cannot dynamically put in the 'FeatureID' on variable 2 though because it is globally above the CDS step.

pastedimage1597166388482v1.png

pastedimage1597166420108v2.png


Any suggestion is appreciated. Thank you


[1]: i.stack.imgur.com/iiGzt.png
[2]: i.stack.imgur.com/otF82.png

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,280 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,214 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans