I am trying to get Active step of workflow running on my page.
Basically the required information for this is present under /var/workflows/instances/
For this i am writing an OSGI service.
In this using WorkflowSession API and trying to access workflow instances of RUNNING state with the help of method - getWorkflows (String states) - but i am getting empty array always. A(my subservice user has permission to instances as well)
With the help of WorkflowSession iam able to get models(/var/workflow/models) data. But not instances.
could you please help on this. Is there any other way of achieving it or please correct me if i need to correct in the approach.