Prashanth Karnam [
http://community.jboss.org/people/pras_karnam] created the discussion
"jbpm 5.2 support for XOR gateway and complex gateway."
To view the discussion, visit:
http://community.jboss.org/message/643106#643106
--------------------------------------------------------------
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
--------------------------------------------------------------
Reply to this message by going to Community
[
http://community.jboss.org/message/643106#643106]
Start a new discussion in jBPM at Community
[
http://community.jboss.org/choose-container!input.jspa?contentType=1&...]