Skip to main content
tags
Link
Source Link

Item updated event receiver not firing when workflow updates the list item

I have an event receiver on an item updated event, when i manually update the list item, the event receiver is firing and calling the method, but when i update the list item through workflow step,when workflow is approved, it does not fire. i am deploying the solution as a farm solution.

public class CreateZohoTicket : SPItemEventReceiver    {
        /// <summary>
        /// An item was updated.
        /// </summary>
        public override void ItemUpdated(SPItemEventProperties properties)
        {  
            base.ItemUpdated(properties);

            if ((string)properties.AfterProperties["Status"] == "Approved")
            {               
                              
                CreateTicket(properties);

                //calling a web service POST method in CreateTicket
            }          

        }