[jbpm-dev] [Design of JBoss jBPM] - current activity of execution

camunda do-not-reply at jboss.com
Wed Jul 8 09:19:30 EDT 2009


Hi.

To query the current activity of an execution I have to cast the ProcessInstance to the ExecutionImpl class: 


  | ((org.jbpm.pvm.internal.model.ExecutionImpl)pi).getActivityName();
  | 

because it is not part of the PVM/API. Or did I miss something?

Why is that the case, an activity name should be available for every language, hence be part of the API, or not?

Cheers
Bernd

View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4242418#4242418

Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4242418



More information about the jbpm-dev mailing list