Table of Contents

Workflow Task

Creates a link which enables the user to finish their Workflow tasks in a third party software.
It also displays the associated document.

Following information needed:

How to get IDs

var server = @"serveraddress";
string orgGuid = "OrgGuid";
var serverUrl = $"https://{server}/DocuWare/Platform/WebClient";

DWIntegrationInfo dwInfo = new DWIntegrationInfo(serverUrl, orgGuid, false);

var integrationType = IntegrationType.WorkflowTask;

var dwParam = new DWIntegrationUrlParameters(integrationType)
{
    WorkflowInstanceId = Guid.Parse("00000000-0000-0000-0000-000000000000"),
    WorkflowId = Guid.Parse("00000000-0000-0000-0000-000000000000"),
    Culture = new CultureInfo("en-En")
};

var dwUrl = new DWIntegrationUrl(dwInfo, dwParam);

var url = dwUrl.Url;

//Result https://serveraddress:443/DocuWare/Platform/WebClient/ORGID/Integration?culture=en-EN&p=WFST&wiid=00000000-0000-0000-0000-000000000000&wid=00000000-0000-0000-0000-000000000000