cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
AmyBabinchak
Helper I
Helper I

Delete item from sharepoint list after reject

Hello,

 

I have an approval flow that works to approve or reject items for a sharepoint list. But I'm getting an error when I used the delete item in my flow. It's telling me something I don't know what to do about. 

 

I guess it wants a for each. But I don't know how to do that. I just want it to delete the rejected item 

Delete rejected item flow.png

 
1 ACCEPTED SOLUTION

Accepted Solutions
Pstork1
Dual Super User III
Dual Super User III

You should have dynamic content that comes from the item before you start the Approval.  Your Delete Item should be inside the No side of the Condition and should use that ID, not the current Item which refers to the responses themselves.



-------------------------------------------------------------------------
If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.

View solution in original post

3 REPLIES 3
AmyBabinchak
Helper I
Helper I

This is the error messagefor each error.png

Pstork1
Dual Super User III
Dual Super User III

You should have dynamic content that comes from the item before you start the Approval.  Your Delete Item should be inside the No side of the Condition and should use that ID, not the current Item which refers to the responses themselves.



-------------------------------------------------------------------------
If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.

View solution in original post

Delete item.png

Oh snap! You rock. I had it in this place before but never thought to use the ID. ID and ID seemed redundant. But it works! Thanks for the guidance.

Helpful resources

Announcements
MBAS Attendee Badge

Claim Your Badge & Digital Swag!

Check out how to claim yours today!

MPA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

secondImage

Are Your Ready?

Test your skills now with the Cloud Skill Challenge.

Top Solution Authors
Users online (86,748)