locked
One Way Correlation Failure RRS feed

  • Question

  • If calling a workflow service fails because of a correlation failure (instance not found, wrong state,...) and the call was a two-way (request-response) call, a Fault message indicating the error is returned. But how can I catch the error if the call is a one-way (request only) call. The caller gets a 202 - Message delivered irrespective if there is a failure or not. DurableServiceHostExtension.ExceptionUnhandled doesn't help either, because the workflow is not activated.
    Sunday, June 28, 2009 8:23 AM

Answers

  • Hi Martin,
    Try the WorkflowServiceHost.UnknownMessageReceived event.  In general, the one-way message pattern is a fire-and-forget pattern, so you shouldn’t be getting anything on the client.

    Thanks,
    Amy
    Monday, July 13, 2009 10:41 PM