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

Get Item ID from APPLY to Each Action

I am working with an approval workflow where the approval task is assigned to multiple users and i am creating a list to capture the workflow activity by creating an item inside a nested apply to each action and this works exactly the way i wanted it to.


However, i am stuck in updating the item/list since i am not able to get the item ID dynamically


Below is my flow

 

scr1.jpg

 

 

scr2.jpg

 

Any suggestion on how to get the list ID ? so that i can use it to update the items across the workflow... 

Thank you.

1 ACCEPTED SOLUTION

Accepted Solutions

@v-bofeng-msft  Thank you, 
I added a variable with in the same Apply to each action and got the item id & can now use it dynamically across my workflow.. 

View solution in original post

2 REPLIES 2
v-bofeng-msft
Community Support
Community Support

Hi @Jean_9681 :

You need to put "Update item" and "Create item" in one "Apply to each" action to get the "Create item"'s Item Id dynamically for "Update item".

vbofengmsft_0-1629871834057.png

Best Regards,

Bof

 

@v-bofeng-msft  Thank you, 
I added a variable with in the same Apply to each action and got the item id & can now use it dynamically across my workflow.. 

Helpful resources

Announcements
Power Automate News & Announcements

Power Automate News & Announcements

Keep up to date with current events and community announcements in the Power Automate community.

Power Automate Community Blog

Power Automate Community Blog

Check out the latest Community Blog from the community!

Top Solution Authors
Users online (2,933)