Hello!!

   I'm wondering how I could get the process definition's token list. I was 
looking into the api but I don't know how do this. I would like rescue a token 
list of an instance. Rescue all tokens. I implemented the next code, but it 
returns only the first token, not all tokens. Any ideas?? Thanks


  |             ProcessInstance inst=jbpmContext.getProcessInstance(16);
  |             List findAllTokens = inst.findAllTokens();
  |     for (int i = 0; i < findAllTokens.size(); i++) {
  |             Token token=(Token)findAllTokens.get(i);
  |             System.out.println("-->>"+token.getFullName());
  |     }
  | 



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

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4213303
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to