JBoss Community

Retrieval of variable values for a process instance

created by Zeliang Huang in jBPM - View the full discussion

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

Reply to this message by going to Community

Start a new discussion in jBPM at Community