Geeks With Blogs
Reidar Husmo SharePoint from the trenches

Problem simplified:

On approval, you have an event receiver that changes a field according to some weird and wonderful business logic. But the item remains in "Pending" state. Why?


First, you obviously need to turn off the event handling when you change things in the event receiver. If not, the event receiver will be called because the item changed. Infinite recursion is a bad thing. But you guessed that.


But that's not what was wrong. The culprit in my case was that items are set to require a new approval whenever the item is changed. This is good, but not what we want in this particular case. So force it back to approved after the other column has been changed.

Posted on Thursday, March 15, 2012 4:06 PM SharePoint 2010 | Back to top

Comments on this post: List item stuck in "Pending"

No comments posted yet.
Your comment:
 (will show your gravatar)

Copyright © Norgean | Powered by: