3.1.4.10 Unsuspend

The WSDL definition of the Unsuspend operation is as follows:

 <wsdl:operation name="Unsuspend">
   <wsdl:input wsaw:Action="http://schemas.datacontract.org/2008/10/
     WorkflowServices/IWorkflowInstanceManagement/Unsuspend"
     message="tns:IWorkflowInstanceManagement_Unsuspend_InputMessage" />
   <wsdl:output wsaw:Action="http://schemas.datacontract.org/2008/10/
     WorkflowServices/IWorkflowInstanceManagement/UnsuspendResponse" 
     message="tns:IWorkflowInstanceManagement_Unsuspend_OutputMessage" />
 </wsdl:operation>

The Unsuspend operation transitions a durable program instance from the suspended state to the active state. A GUID MUST be passed to the operation as the value of the <instanceId> element to identify the durable program instance on which the operation is to be performed. The operation has no effect if the durable program instance associated with the provided identifier is already in the active state.

A GUID MUST be passed to the operation as the value of the <instanceId> element to identify the durable program instance on which the operation is to be performed. The operation SHOULD return a SOAP fault message if one or more of the following conditions exist:

  • The value of the <instanceId> element is not in the correct format, as specified in [MS-DTYP] section 2.3.4.

  • The <instanceId> element is absent.

  • The value of the <instanceId> element does not exist in the Durable Program Instance Table on the server.

  • The durable program instance associated with the value of the <instanceId> element is in the completed state.

  • The server encounters an internal error while executing the Unsuspend operation.