UPdate the workflow status in the workflow instance register.
Namespace: Scanjour.Workflow4.Host
Assembly: Scanjour.Workflow4.Host (in Scanjour.Workflow4.Host.dll) Version: 23.3.0.0 (23.3.0.0)
Syntax
public static bool UpdateWorkflowStatus( Uri oDataUri, Guid instanceId, WorkflowStatus status, InstanceInformationCache instanceInformationCache, string hostId, WorkflowStatus? existingStatus = null )
Parameters
- oDataUri
- Type: SystemUri
The OData Uri. - instanceId
- Type: SystemGuid
The instance id. - status
- Type: Scanjour.Workflow4.HostWorkflowStatus
The new workflow instance status. - instanceInformationCache
- Type: Scanjour.Workflow4.HostInstanceInformationCache
The instance information cache. - hostId
- Type: SystemString
The host id. - existingStatus (Optional)
- Type: SystemNullableWorkflowStatus
If not null the instance is only updated if the workflow existing status match this value.
Return Value
Type: Boolean[Missing <returns> documentation for "M:Scanjour.Workflow4.Host.WorkflowHost.UpdateWorkflowStatus(System.Uri,System.Guid,Scanjour.Workflow4.Host.WorkflowStatus,Scanjour.Workflow4.Host.InstanceInformationCache,System.String,System.Nullable{Scanjour.Workflow4.Host.WorkflowStatus})"]
See Also