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

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 Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

MPA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

Learn to digitize and optimize business processes and connect all your applications to share data in real time.

Power Automate Designer Feedback_carousel.jpg

Help make Flow Design easier

Are you new to designing flows? What is your biggest struggle with Power Automate Designer? Help us make it more user friendly!

Top Solution Authors
Top Kudoed Authors
Users online (2,141)