AEM 6.3: workflowSession return all workflows (also those started by others)
I want to show all workflow instances on http://localhost:4502/libs/cq/workflow/admin/console/content/instances.html . At the moment it will only show the instanced linked to the user that I currently logged in.
The datasource file (/libs/cq/workflow/admin/console/components/datasource/workflowinstancedatasource/workflowinstancedatasource.jsp) has the following code:
ResultSet<Workflow> resultSet = workflowSession.getWorkflows(states, offset, limit);
The documentation states the following:
How can I get it to return all the workflows not taking into account the access?
PS: I tried using the following but that also takes in account the access:
workflowSession.getAllWorkflows();
Greetings
Jeroen
