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
_______________________________________________
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to