Itemupdating firing 2 times dating sdites

Debugger was executing each line of code twice and thrice in this event.

I almost mad to figure out that what i am doing wrong. I created a column in event receiver name "Approved by".

I’ve created a form library and added the OOTB approval workflow on it. Also the code executed twice, First time fired by logged account then Outcome is null Second time fired by system account then Outcome field return a value. Do you have any other approach to test the event receiver whether attached one time or twice.

I performed some operation when the workflow is approved or rejected by using the below item updated event receiver code and its working fine if execute the code asynchronously.

To avoid this, we can disable the event firing before updating the List Item on the Event Receiver.

And when an "Item Updating" event runs second time, means under the user who is actually login, then it works perfectly and also your code works as i needed.

The following procedure needs to be followed to disable event firing on a list item update.

Rauf Ab on Mon, Hello all, I have created a form library and an event receiver on it.

I face strange behavior when i debug the following code. Update(); line of code it again start debugging from the first line of code. if i am missing something in the code that is the cause of this behavior please correct it.

Or please suggest me to avoid this problem, Thanks in advance.

Leave a Reply

  1. Chat free arap camera pink 22-Jan-2018 11:14

    Please press on the "rocker" to enable Flash for your browser.

  2. who is dustin diamond dating 06-Jan-2018 23:55

    If you can’t connect, it’ll inform the customer without transferring them to your voicemail (for privacy reasons).

  3. blue collar online dating 04-Oct-2017 21:48

    They are Dan, Alex, and Marty, budding investment bankers at the same financial firm, which recruited Alex and Marty straight from an Ivy League campus.

  4. Dirty talking sex chat room with men 29-Sep-2017 05:06

    This annual conference is now held at USC to which over 1,000 youth attend at no cost and sponsored by Lifeworks.

  5. Bikini boob cam sexy strip web 29-Sep-2017 20:19

    Kernel Core Dumps – This technote explains how you can enable remote kernel core dumps used to collect data about the kernel panic.

  6. internetdatingthemusical com 26-Oct-2017 05:00

    Warm girls, the latest cam technology and a very uncomplicated and personal user experience they come all in the same bundle.