Hi all,
I'm writing a simple JAVA program that should list all the active processes within a specific workspace.
Here is my JAVA code:
Library wsmpLib = wsmpSession.getLibraryByName(MY_LIBNAME);
Workspace ws = (Workspace) wsmpLib.getObjectById(MY_WORKSPACE_ID);
Iterator iter = ws.getAllRunningProcesses().iterator();
while(iter.hasNext())
{
WorkflowProcess wfp = (WorkflowProcess) iter.next();
System.out.println("Process Name: " + wfp.getName());
}
When I run my program I see that the getAllRunningProcesses method returns an empty Collection even if there are running processes.
Is there anybody that can give me any suggestion?
I'm working with WSMP 4.1 SP1 HFB7.
Thank you very much for your help.