[jboss-user] [JBoss jBPM] - jBPM token id=0

smjain do-not-reply at jboss.com
Sun Nov 16 23:02:47 EST 2008


I am using the following code to invoke a process

ProcessDefinition processDefinition = ProcessDefinition.parseXmlResource("simple/processdefinition.xml");
				
		// Create an instance of the process definition.
		ProcessInstance instance = new ProcessInstance(processDefinition);

System.out.println("Token id="+instance.getRootToken().getId());

it prints token id=0

Please advice 

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

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



More information about the jboss-user mailing list