Class DesignerWaitingInstance
- Namespace
- DocuWare.Platform.ServerClient
- Assembly
- DocuWare.Platform.ServerClient.dll
Model a waiting instance for the designer of the workflow.
public class DesignerWaitingInstance : IRelationsWithProxy, IRelations, IHttpClientProxy
- Inheritance
-
DesignerWaitingInstance
- Implements
- Inherited Members
Properties
ActivityName
Аctivity name
public string ActivityName { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
ContinueRelationLink
Gets the Uri of the link for the relation “continue”.
public string ContinueRelationLink { get; }
Property Value
| Type | Description |
|---|---|
| string |
Remarks
Returns the uri of the link for the relation “continue” if it exists, or
DocId
Document id connected with the instance.
public int DocId { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
Id
Id of the workflow instance.
public string Id { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Links
public Link[] Links { get; set; }
Property Value
| Type | Description |
|---|---|
| Link[] |
SelfRelationLink
Gets the Uri of the link for the relation “self”.
public string SelfRelationLink { get; }
Property Value
| Type | Description |
|---|---|
| string |
Remarks
Returns the uri of the link for the relation “self” if it exists, or
TimeoutDate
Date and time of the timeout.
public DateTime TimeoutDate { get; set; }
Property Value
| Type | Description |
|---|---|
| DateTime |
WaitInstanceActivityType
Activity type.
public WaitInstanceActivityType WaitInstanceActivityType { get; set; }
Property Value
| Type | Description |
|---|---|
| WaitInstanceActivityType |
WorkflowVersionId
Workflow version id.
public string WorkflowVersionId { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Methods
GetDesignerWaitingInstanceFromSelfRelation()
Calls the HTTP Get method on the link for the relation “self”.
public DesignerWaitingInstance GetDesignerWaitingInstanceFromSelfRelation()
Returns
| Type | Description |
|---|---|
| DesignerWaitingInstance | The content of the response. |
GetDesignerWaitingInstanceFromSelfRelationAsync()
Calls the HTTP Get method on the link for the relation “self” asynchronously.
public Task<DeserializedHttpResponse<DesignerWaitingInstance>> GetDesignerWaitingInstanceFromSelfRelationAsync()
Returns
| Type | Description |
|---|---|
| Task<DeserializedHttpResponse<DesignerWaitingInstance>> | A task which runs the request. |
Remarks
This method follows the link for the relation “self”.
GetDesignerWaitingInstanceFromSelfRelationAsync(CancellationToken)
Calls the HTTP Get method on the link for the relation “self” asynchronously.
public Task<DeserializedHttpResponse<DesignerWaitingInstance>> GetDesignerWaitingInstanceFromSelfRelationAsync(CancellationToken cancellationToken)
Parameters
| Type | Name | Description |
|---|---|---|
| CancellationToken | cancellationToken | The cancellation token to cancel the request. |
Returns
| Type | Description |
|---|---|
| Task<DeserializedHttpResponse<DesignerWaitingInstance>> | A task which runs the request. |
Remarks
This method follows the link for the relation “self”.
SetProxy(HttpClientProxy)
Sets the HTTP communication proxy which is used in further HTTP communication.
public void SetProxy(HttpClientProxy proxy)
Parameters
| Type | Name | Description |
|---|---|---|
| HttpClientProxy | proxy | The HttpClient 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.