0 Replies Latest reply on Jan 30, 2017 7:09 AM by alberto rd


    alberto rd Newbie

      I connect with WB with this code:

       CommandWebService client = RemoteRuntimeEngineFactory.newCommandWebServiceClientBuilder() 

      and I tray to use the GetProcessInstancesCommand:

          GetProcessInstancesCommand getProcessInstancesCommand = new GetProcessInstancesCommand ();
      JaxbCommandsRequest request = new JaxbCommandsRequest(deploymentId, getProcessInstancesCommand);
      JaxbCommandsResponse response = client.execute(request);

      and it returns a empty list in processInstancesList variable but I have instances running in the project.+


      I don't know what is the problem, can you help me, please?