Please fix the following, or give a workaround.
workflow only accepts the exact event type not even an inherited event type e.g.
workflow only accepts the exact event type not even an inherited event type e.g.
event
hierarchy
----------------------
eventParent
|
eventChild
workflow
------------
send "eventChild"
-> HandleExternalEvent( eventParent ) => exception unable to deliver

HandleExternalEvent Problem
Jim Svoboda
Can you provide a code example showing your EventArgs and Event declaration from your Local Services I would like to provide more information but I am not 100% sure of the scenario that you are describing.
Steve Danielson [Microsoft]
This posting is provided "AS IS" with no warranties, and confers no rights.
DecentViv
- I have a generalized event for all workflows in my system say 'GeneralEvent'
- inherited from this 'GeneralEvent' I have a child event say 'ForwardEvent'
- in my workflow I define a HandleExternalEvent activity and set it to accept 'GeneralEvent'
- from my application if I send a 'ForwardEvent' to this workflow I receive an unable to deliver exception
FYI : I presume in the runtime you only look for 'GeneralEvent' to "rehydrate" the workflow so getting anything else you give an exception. I propose "issubclassof" on events fired into the runtime instead of "equal"
DanL43