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

Microsoft Build 768x460.png

Microsoft Build is May 24-26. Have you registered yet?

Come together to explore latest innovations in code and application development—and gain insights from experts from around the world.

May UG Leader Call Carousel 768x460.png

What difference can a User Group make for you?

At the monthly call, connect with other leaders and find out how community makes your experience even better.

PA Survey Carousel Image.png

We want to hear from you!

If you are a small business ISV/Reseller, share your thoughts with our research team.

Users online (2,839)