JBoss Community

Bug: jPBM 4.4: JbpmException thrown by ActivityExecution.getActivity()

reply from Joe Gottman in jBPM - View the full discussion

HuiSheng Xu wrote:

 

 

 

 

Also,  I think there is no api to get ActivityExecution from api services.

 

It's easy enough to get an ActivityExecution from api services by using a cross-cast.

 

 

Execution execution = executionService.findExecutionById(executionID);if (execution instanceof ActivityExecution) {     ActivityExecution activityExecution = (ActivityExecution)execution;

     //Do something with ActivityExecution

}

 

Reply to this message by going to Community

Start a new discussion in jBPM at Community