access to assignments - userid (power automate)

135 Views Asked by At

i want to find out the assigned persons from a teams task. Following sample shows me the first one (because index 0). but how can i get all assigned persons?

item()?['_assignments'][0]['userid']
1

There are 1 best solutions below

0
Hias On

I found the answer with many tries:

join(xpath(xml(json(concat('{"body":{"value":', item()?['_assignments'] , '}}'))), '/body/value/userId/text()'), '; ')