I'm hosting my workflow services in IIS and I need to perform some custom actions when an instance is faulted for an internal exception during its excecution.
I found the WorkflowUnhandledExceptionBehavior extension, but there I can only use predefined actions. I would like to be able to have some "event" I can subscribe to to be able to run my own logic. I think I should use a custom behavior, but where could I found a good example?
Thanks
It depends a bit on what you want/need to do. If you add a TrackingParticipant it can receive information about unhandled errors through a WorkflowInstanceUnhandledExceptionRecord.