JBoss Community

Re: How can I take process definitions from Guvnor with jBPM5 API?

created by Esteban Aliverti in jBPM - View the full discussion

The source code of a package only contains Drools related assets like rules, functions, etc., but not processes. What you can do is either to use the binary package (you have to build the package first from Guvnor's UI) or to use the process' source URL instead of the package.

Also remember that KnowledgeBuilder doesn't throw any exception if it fails compiling a package. You  have to manually check for errors after you add a resouce by using .hasErrors() and getErrors() methods.

 

Best Regards,

Reply to this message by going to Community

Start a new discussion in jBPM at Community