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
MPA_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

Welcome Super Users.jpg

Super User Season 2

Congratulations, the new Super User Season 2 for 2021 has started!

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

Users online (2,361)