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
org.GetWorkflowsFromWorkflowsRelation();
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:
org.GetWorkflowsFromControllerWorkflowsRelation();
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