Hi All,
I am trying to create a sample workflow based on a business process. I am getting exception as "could not parse knowledge" when i have anything other than a parallel gateway ( ie for only parallel gateway there are no errors , for rest all gateways there are errors ) it gives error. The examples provided by jbpm git does the same as below.
| | KnowledgeBuilder kbuilder = KnowledgeBuilderFactory.newKnowledgeBuilder(); |
| | kbuilder.add(ResourceFactory.newClassPathResource("looping/Looping.bpmn"), ResourceType.BPMN2); |
| | return kbuilder.newKnowledgeBase(); |
The only change with my code is that i am using it as below.
kbuilder.add(ResourceFactory.newUrlResource(url),
ResourceType.BPMN2);
Is there a problem with this or the other gateways are still not supported ? If they are supported then any idea why "kbuilder.newKnowledgeBase();" throws "could not parse knowledge" exception.
Regards
Prashanth Karnam