Simple Workflow Task
Creates a link to a request that has been assigned to the logged-in user regarding a workflow step.
The response options and the associated document of the request are displayed.
Following information needed:
Note
The Workflow Task Instance ID can also be obtained from the data field WorkflowId.
To do this, navigate to the workflow request IDs via the list of requests in the portal.
var server = @"serveraddress";
string orgGuid = "OrgGuid";
var serverUrl = $"https://{server}/DocuWare/Platform/WebClient";
DWIntegrationInfo dwInfo = new DWIntegrationInfo(serverUrl, orgGuid, false);
var integrationType = IntegrationType.SimpleWorkflowTask;
var dwParam = new DWIntegrationUrlParameters(integrationType)
{
WorkflowInstanceId = Guid.Parse("00000000-0000-0000-0000-000000000000"),
WorkflowTaskId = 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=SWT&wtid=00000000-0000-0000-0000-000000000000