| GetLinkedWorkflowsForDoc | Scroll | 
REST URL (POST) https://tenant.thereforeonline.com/theservice/v0001/restun/GetLinkedWorkflowsForDoc
SOAP Action (POST) http://schemas.therefore.net/webservices/interop/v0001/messages/IThereforeService/GetLinkedWorkflowsForDoc
Gets list of workflow for given document.
Input Message: http://schemas.therefore.net/webservices/interop/v0001/messages/IThereforeService/GetLinkedWorkflowsForDoc
| Element Name | Element Type | Restrictions | Description | 
| â– parameters | 
 | 
 | |
| â– DocNo | xs:int | mandatory | The document number. | 
| â– WFDocLinkType | 
 | mandatory restriction enum (xs:string) - Any (0) - MainDocument (1) - AdditionalDocument (2) | The type of the link. | 
Output Message: http://schemas.therefore.net/webservices/interop/v0001/messages/IThereforeService/GetLinkedWorkflowsForDocResponse
| Element Name | Element Type | Restrictions | Description | 
| â– parameters | 
 | 
 | |
| â–¡ InfoLists | 
 | nillable | Gets list of linked workflow instances info. | 
| ≡ WSWFInstanceInfo | 
 | list nillable | |
| â–¡ AssignedTo | xs:string | nillable | Gets the user name of the user the instance is currently assigned to. | 
| â– Claimed | xs:boolean | 
 | Gets the claimed status of the instance. | 
| â–¡ CurrTaskName | xs:string | nillable | Gets the name of the current workflow task of the instance. | 
| â– CurrTaskNo | xs:int | 
 | Gets the number of the current workflow task for the instance. | 
| â– InitiatorNo | xs:int | 
 | Gets the user number of the user who started the workflow instance. | 
| â– InstanceNo | xs:int | 
 | Gets the unique instance number of the workflow instance. | 
| â– LinkType | 
 | 
 restriction enum (xs:string) - Any (0) - MainDocument (1) - AdditionalDocument (2) | Gets the type of the link. | 
| â–¡ ProcessDueDate | xs:dateTime | nillable | Gets the date when the current workflow instance should be finished (routing / processing). | 
| â–¡ ProcessName | xs:string | nillable | Gets the name of the workflow process of the instance. | 
| â– ProcessNo | xs:int | 
 | Gets the number of the workflow process of the instance. | 
| â–¡ ProcessStartDate | xs:dateTime | nillable | Gets the date when the current workflow instance was started. | 
| â–¡ TaskDueDate | xs:dateTime | nillable | Gets the date when the current task instance should be finished. | 
| â–¡ TaskStartDate | xs:dateTime | nillable | Gets the date when the current task instance was started. | 
| â– TokenNo | xs:int | 
 | The unique number for the current workflow token. | 
| â– VersionNo | xs:int | 
 | Gets the version number of the workflow process of the instance. | 
| â–¡ ErrorInfo | xs:string | nillable | The error info of the current workflow. | 
| â–¡ ErrorString | xs:string | nillable | The error code of the current workflow. | 
| â–¡ ErrorTimestamp | xs:dateTime | nillable | The error timestamp of the current workflow. | 
| â–¡ ErrorTimestampISO8601 | xs:string | nillable | The error timestamp of the current workflow (in ISO 8601 format, UTC). | 
| â–¡ ProcessDueDateISO8601 | xs:string | nillable | Gets the date when the current workflow instance should be finished (routing / processing) (date in ISO 8601 format, example 2024-01-23). | 
| â–¡ ProcessStartDateISO8601 | xs:string | nillable | Gets the date when the current workflow instance was started (date in ISO 8601 format, example 2024-01-23). | 
| â–¡ TaskDueDateISO8601 | xs:string | nillable | Gets the date when the current task instance should be finished (date in ISO 8601 format, example 2024-01-23). | 
| â–¡ TaskStartDateISO8601 | xs:string | nillable | Gets the date when the current task instance was started (date in ISO 8601 format, example 2024-01-23). | 
Legend:
| â– | Not nillable element. | 
| â–¡ | Nillable element. | 
| ≡ | List of elements. | 
| Bold | Mandatory element. |