SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a situation where I don't want to trigger the ItemAdded event if an item is added to a list via a workflow. Is it possible not to trigger this event?

share|improve this question
why dont leave it empty, if you dont want it to do anything ? – Muhammad Raja Jul 18 '12 at 14:53
When items are not added by my workflow I want to do some checks on the item. – John Jul 18 '12 at 14:56

Might want to take a look at this article

Basically, what your looking for is something like this

share|improve this answer

Following Caesar answer I knew what to google for.

The nicest thing I have seen is from Adrian Henke's blog

/// <summary>
/// Disabled item events scope
/// </summary>
/// <see cref=""/>
class DisabledItemEventsScope : SPItemEventReceiver, IDisposable
    bool oldValue;

    public DisabledItemEventsScope()
        this.oldValue = base.EventFiringEnabled;
        base.EventFiringEnabled = false;

    public void Dispose()
        base.EventFiringEnabled = oldValue;


You can then call your code in:

using (DisabledItemEventsScope scope = new DisabledItemEventsScope())
    item.SystemUpdate(); // will NOT fire events
item.SystemUpdate(); // will fire events again

The nice thing is that if anything goes wrong events will be turned back on automatically.

share|improve this answer

Could always have the workflow update a hidden column and the event receiver looks to see if there is any data in that column. If yes, do nothing, if no, process.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.