JBoss Community

Re: Exception retrieving task

created by jnorris in jBPM - View the full discussion

Also, I am trying to retrieve the task based on the task id:

 

public Task getTask( long taskId )

{

          BlockingGetTaskResponseHandler responseHandler = new BlockingGetTaskResponseHandler();

          client.getTask( taskId, responseHandler );

          responseHandler.waitTillDone( 1000 );

          return responseHandler.getTask();

}

Reply to this message by going to Community

Start a new discussion in jBPM at Community