3.1.4.1 Run

The WSDL definition of the Run operation is as follows.

 <wsdl:operation name="Run">
   <wsdl:input wsaw:Action="http://schemas.datacontract.org/2008/10/
     WorkflowServices/IWorkflowInstanceManagement/Run"
     message="tns:IWorkflowInstanceManagement_Run_InputMessage" />
   <wsdl:output wsaw:Action="http://schemas.datacontract.org/2008/10/
     WorkflowServices/IWorkflowInstanceManagement/RunResponse" 
     message="tns:IWorkflowInstanceManagement_Run_OutputMessage" />
 </wsdl:operation>

The Run operation SHOULD provide the durable program instance with an opportunity to execute in an implementation-specific manner. 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 suspended state.

  • 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 Run operation.