[jboss-user] [jBPM] - jbpm 5.2 support for XOR gateway and complex gateway.

Prashanth Karnam do-not-reply at jboss.com
Sat Dec 24 04:49:22 EST 2011


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&containerType=14&container=2034]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20111224/cdb94255/attachment-0001.html 


More information about the jboss-user mailing list