2 Replies Latest reply on Dec 5, 2011 10:30 AM by calca

    Retrieval of variable values for a process instance

    ossa

      Hi Guys,

       

      I am looking for a way to read the values of variables in my process instance after it is started.

      I am able to get the ProcessInstanceId through below java codes. Any idea how can I

      continue from here?

       

      BlockingGetTaskResponseHandler getResponseHandler = new BlockingGetTaskResponseHandler();
      client.getTask(taskId, getResponseHandler);
      getResponseHandler.waitTillDone(10000);

      Task ts = getResponseHandler.getTask();

      ts.getTaskData().getProcessInstanceId();

       

      thanks