Update workflow instance status.
Namespace: Scanjour.Workflow4.Host
Assembly: Scanjour.Workflow4.Host (in Scanjour.Workflow4.Host.dll) Version: 23.2.0.0 (23.2.0.0)
Syntax
public static bool SetWorkflowInstanceStatus( Uri oDataUri, Guid instanceId, WorkflowStatus newStatus, string serverName, string message = "", WorkflowStatus? existingStatus = null )
Parameters
- oDataUri
- Type: SystemUri
The OData Uri. - instanceId
- Type: SystemGuid
The instance id. - newStatus
- Type: Scanjour.Workflow4.HostWorkflowStatus
The new status. - serverName
- Type: SystemString
The host id. - message (Optional)
- Type: SystemString
[Missing <param name="message"/> documentation for "M:Scanjour.Workflow4.Host.DatabaseFunctions.SetWorkflowInstanceStatus(System.Uri,System.Guid,Scanjour.Workflow4.Host.WorkflowStatus,System.String,System.String,System.Nullable{Scanjour.Workflow4.Host.WorkflowStatus})"]
- existingStatus (Optional)
- Type: SystemNullableWorkflowStatus
If a not null status is supplied in this argument only workflows haveing this status is updated
Return Value
Type: Boolean[Missing <returns> documentation for "M:Scanjour.Workflow4.Host.DatabaseFunctions.SetWorkflowInstanceStatus(System.Uri,System.Guid,Scanjour.Workflow4.Host.WorkflowStatus,System.String,System.String,System.Nullable{Scanjour.Workflow4.Host.WorkflowStatus})"]
See Also