ah ok...at last....there is some light ;-)))
after writing my own command for what i want everything is ok
code is
|
|
| public Object execute(JbpmContext jbpmContext) throws Exception {
| // TODO Auto-generated method stub
| List returnObject=null;
| ProcessInstance pi = jbpmContext.getProcessInstance(processInstanceId);
| Token t = pi.getRootToken();
| if ( t != null ) {
| returnObject= t.getNode().getLeavingTransitions();
| System.out.println("LeavingTransitions= " + returnObject.size());
| Iterator it = returnObject.iterator();
| while ( it.hasNext()) {
| Transition ta = (Transition ) it.next();
| System.out.println("Transition " + ta.getName());
| }
| }
| else {
| System.out.println("noroot token!");
| }
|
|
| return returnObject;
| }
| }
|
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4167916#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...