Publié Mon, 24 Feb 2020 08:53:04 GMT par Chema Lopez Developer

We have several Workflows in a DocuWare cloud instance. When we try to list those workflows by using REST API ( only few of them are shown.

If I access directly to one ot those hidden workflows it is shown:{WORKFLOW_ID}

That workflow has three active tasks but if I list them through REST API ({WORKFLOW_ID}/Tasks) only one is shown.

We have checked permissions and everything seems to be right.

The version is 7.1.
Publié Tue, 25 Feb 2020 08:37:30 GMT par Simon H. Hellmann Toshiba TGIS GmbH | IT-Consultant - Document Management Solutions
Hello Chema,
I realized this the hard way just some weeks ago. There are two functions to access all the workflows in the system (see here).
If you use the method
you will only get workflows in which the User you used for creating the connection owns a task. All Workflows without active tasks or without tasks assigned to the logged in User will not appear with this function.

I then switched to use the second function:
This gets me all the workflows in which the User you used for creating the connection is a workflow controller, regardless of if there are tasks available or if he owns a task.

Hope this helps.

Greetings from Germany,
Simon H. Hellmann
DocuWare System Consultant
Publié Tue, 25 Feb 2020 10:00:50 GMT par Chema Lopez Developer

Thank you Simon.

Since I use the REST API not the .NET library the equivalent call would be:

Still, there are several workflows that are not shown even though the logged user is controller for those.

For example, I see one workflow with one active instance in Workflow Designer but if I get workflow info through REST API it shows TaskCount=0 but there is one task.

<?xml version="1.0" encoding="utf-8"?>
<?xml-stylesheet type="text/xsl" href="/DocuWare/Platform/Content/standard.xslt"?>
<WorkflowTasks xmlns:s="" Count="0" TimeStamp="2020-02-25T09:56:07.841371Z"
    <s:Link rel="first" href="/DocuWare/Platform/ControllerWorkflows/xxx/Tasks?count=50" />
    <s:Link rel="self" href="/DocuWare/Platform/ControllerWorkflows/xxx/Tasks?start=0&amp;count=50" />
  <Task Id="Id" InstanceId="InstanceId" IsRead="false" AllowDecisionStamp="true" ActivityDescription="" DocId="DocId"
        ActivityType="GeneralTask" NodeId="NodeId" WorkflowVersionId="WorkflowVersionId">
    <DefaultDecisionId p4:nil="true" xmlns:p4="" />

Publié Fri, 06 Mar 2020 11:55:14 GMT par Chema Lopez Developer
There is also a problem I recently found.

Accessing the URL{WF_ID}/Tasks
returns a list of tasks.

If there are several tasks each of them assigned to an user, the ColumnValue WF_Task_User_Name contains the username.

But accessing the URL of these tasks{WF_ID}/Instances/{INSTANCE_ID}/Tasks/{TASK_ID}
returns the same WF_Task_User_Name in all tasks.


You must be signed in to post in this forum.