Class DocumentWorkflowMetadata

Namespace
DocuWare.Platform.Bpw.Schemas
Assembly
DocuWare.Platform.ServerClient.dll

public class DocumentWorkflowMetadata : IRelationsWithProxy
Inheritance
DocumentWorkflowMetadata

Properties

Gets the Uri of the link for the relation “history”.

public string HistoryRelationLink { get; }

Property Value

TypeDescription
String

Returns the uri of the link for the relation “history” if it exists, or null if this link does not exist. The returned link can be absolute or relative. If it is a relative link you must set it in the right context yourself.

InstanceId

public string InstanceId { get; set; }

Property Value

TypeDescription
String

IsSimple

public bool IsSimple { get; set; }

Property Value

TypeDescription
Boolean
public Link[] Links { get; set; }

Property Value

TypeDescription
Link[]

WorkflowName

public string WorkflowName { get; set; }

Property Value

TypeDescription
String

Methods

GetDocumentWorkflowHistoryStepsFromHistoryRelation()

Calls the HTTP Get method on the link for the relation “history”.

public DocumentWorkflowHistorySteps GetDocumentWorkflowHistoryStepsFromHistoryRelation()

Returns

TypeDescription
DocumentWorkflowHistorySteps

The content of the response.

GetDocumentWorkflowHistoryStepsFromHistoryRelationAsync()

Calls the HTTP Get method on the link for the relation “history” asynchronously.

public System.Threading.Tasks.Task<DeserializedHttpResponse<DocumentWorkflowHistorySteps>> GetDocumentWorkflowHistoryStepsFromHistoryRelationAsync()

Returns

TypeDescription
System.Threading.Tasks.Task<DeserializedHttpResponse<DocumentWorkflowHistorySteps>>

A task which runs the request.

Remarks

This method follows the link for the relation “history”.

GetDocumentWorkflowHistoryStepsFromHistoryRelationAsync(System.Threading.CancellationToken)

Calls the HTTP Get method on the link for the relation “history” asynchronously.

public System.Threading.Tasks.Task<DeserializedHttpResponse<DocumentWorkflowHistorySteps>> GetDocumentWorkflowHistoryStepsFromHistoryRelationAsync(System.Threading.CancellationToken cancellationToken)

Parameters

TypeNameDescription
System.Threading.CancellationTokencancellationToken

The cancellation token to cancel the request.

Returns

TypeDescription
System.Threading.Tasks.Task<DeserializedHttpResponse<DocumentWorkflowHistorySteps>>

A task which runs the request.

Remarks

This method follows the link for the relation “history”.

SetProxy(HttpClientProxy)

Sets the HTTP communication proxy which is used in further HTTP communication.

public void SetProxy(HttpClientProxy proxy)

Parameters

TypeNameDescription
HttpClientProxyproxy

The instance which is used in further HTTP communication.

Remarks

The HTTP proxy is used to handle the HTTP requests which are created by this instance. The proxy is used in case a request is sent to a URL which is resolved from a link.