[jboss-user] [jBPM] - Bug: jPBM 4.4: JbpmException thrown by ActivityExecution.getActivity()

Joe Gottman do-not-reply at jboss.com
Thu Jul 8 08:22:19 EDT 2010


Joe Gottman [http://community.jboss.org/people/joegottman] replied to the discussion

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

To view the discussion, visit: http://community.jboss.org/message/551675#551675

--------------------------------------------------------------
> 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
[http://community.jboss.org/message/551675#551675]

Start a new discussion in jBPM at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20100708/65f8fb34/attachment.html 


More information about the jboss-user mailing list