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.. 

View solution in original post

Helpful resources

Announcements
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

M365 768x460.jpg

Microsoft 365 Collaboration Conference | December 7–9, 2021

Join us, in-person, December 7–9 in Las Vegas, for the largest gathering of the Microsoft community in the world.

Users online (2,024)