EventDeliveryFailedException & state machine workflow

If you want to avoid an "EventDeliveryFailedException" when the host application triggers an event towards a StateMachine workflow, you should set the WaitOnIdle property of the ExternalDataEventArgs event parameterto true.
I’ve wasted at least 3 hours on this  this week (Windows Workflow Foundation beta2)

5 responses to “EventDeliveryFailedException & state machine workflow

  1. Thanks for blogging this tip!  I googled for this exception after wasting half and hour and setting the WaitForIdle property to true on my instance of ExternalDataEventArgs before raising the event solved my problem.

  2. Great tip!
    Like benjamin i googled de exception and like you wasted many time on it
    Ariel (Argentina)

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s