Workflow Task List
Creates a link to a list which contains all open workflow tasks.
The user interface enables the user to select an entry and finish it while the associated document is displayed.
The two roles, designer List User and controller List Controller, will be differentiated.
For further information regarding this consider looking into the Workflow Manager manual.
Following information needed:
- Server address
- Organization ID
- Workflow Role Type
- Workflow ID
List User
Use the designer role to display the user's tasks.
var server = @"serveraddress";
string orgGuid = "OrgGuid";
var serverUrl = $"https://{server}/DocuWare/Platform/WebClient";
DWIntegrationInfo dwInfo = new DWIntegrationInfo(serverUrl, orgGuid, false);
var integrationType = IntegrationType.WorkflowTaskList;
var dwParam = new DWIntegrationUrlParameters(integrationType)
{
WorkflowRoleType = WorkflowRoleType.User,
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=WFTL&wid=00000000-0000-0000-0000-000000000000&wrt=d
List Controller
Use the controller role to display all tasks.
This includes tasks from other users, as well as tasks that were not executed.
var server = @"serveraddress";
string orgGuid = "OrgGuid";
var serverUrl = $"https://{server}/DocuWare/Platform/WebClient";
DWIntegrationInfo dwInfo = new DWIntegrationInfo(serverUrl, orgGuid, false);
var integrationType = IntegrationType.WorkflowTaskList;
var dwParam = new DWIntegrationUrlParameters(integrationType)
{
WorkflowRoleType = WorkflowRoleType.Controller,
WorkflowId = Guid.Parse("00000000-0000-0000-0000-000000000000"),
Culture = new CultureInfo("en-En"),
DownloadType = DownloadType.Download
};
var dwUrl = new DWIntegrationUrl(dwInfo, dwParam);
var url = dwUrl.Url;
//Result https://serveraddress:443/DocuWare/Platform/WebClient/ORGID/Integration?culture=en-EN&p=WFTL&dt=Download&wid=00000000-0000-0000-0000-000000000000&wrt=c