[jboss-user] [jBPM Users] - how to get all tokens from processinstance

peterbasutkar@gmail.com do-not-reply at jboss.com
Sun Nov 8 01:27:21 EST 2009


i am using following code for  getting all tokens from processInstance,but it is giving only currently running token(means tasknode information) information 
ProcessInstance processInstance = getProcessInstance();
List allTokens = processInstance.findAllTokens();
		for (Token token : allTokens) {
			System.out.println("names of tokess nodes"+token.getNode().getName());
}
Is there any API for getting all tokens(means task) for a perticular provessInstance.

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

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



More information about the jboss-user mailing list