JBoss Community

Re: JBPM(Human Task)+Spring+Hibernate on JBoss AS 7

created by Avneesh Sisodia in jBPM - View the full discussion

Thanks for the link wqe . I read it and do all things explained there . But I have not idea how to use real process file.

 

I used this to read process file

 

 

KnowledgeBuilder kbuilder = KnowledgeBuilderFactory.newKnowledgeBuilder();
        kbuilder.add( ResourceFactory.newClassPathResource("SampleHumanTaskProcess.bpmn"), ResourceType.BPMN2 );
        ksession.startProcess("com.sample.bpmn");

But not able to read process.

Reply to this message by going to Community

Start a new discussion in jBPM at Community