Question

In workflow i need to send email with field which i update in event receiver ItemUpdated method
but some times workflow finishes first and send empty email, sometimes it works fine. How to be sure that workflow start only after this item ItemUpdated method finished?

  public override void ItemUpdated(SPItemEventProperties properties)
        {
            base.ItemUpdated(properties);
            this.EventFiringEnabled = false;
            ListsEventReceiverHandlers.ItemUpdated(properties);
            this.EventFiringEnabled = true;
        }

that's my event receiver. In ListsEventReceiverHandlers.ItemUpdated(properties); i change some fields and want send changes be work flow< which starts as parallel

No correct solution

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top