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.


Any suggestion is appreciated. Thank you


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