xin sun [https://community.jboss.org/people/xs06974] created the discussion
"Re: How to get the bpmn file validation information" To view the discussion, visit: https://community.jboss.org/message/784915#784915 -------------------------------------------------------------- Plus: I use below code to validate the bpmn file programmatically and can't find any error in the attached bpmn file. But the Jbpm Console still can's show any process. KnowledgeBuilder kbuilder = KnowledgeBuilderFactory.newKnowledgeBuilder(); kbuilder.add(ResourceFactory.newClassPathResource("Test0.bpmn"), ResourceType.BPMN2); if(kbuilder.hasErrors()){ Iterator itr = kbuilder.getErrors().iterator(); while(itr.hasNext()){ KnowledgeBuilderError error = (KnowledgeBuilderError)itr.next(); System.out.println(error.getMessage()); } } -------------------------------------------------------------- Reply to this message by going to Community [https://community.jboss.org/message/784915#784915] Start a new discussion in jBPM at Community [https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]
_______________________________________________ jboss-user mailing list [email protected] https://lists.jboss.org/mailman/listinfo/jboss-user
