一个简单的过程jbpm 5使用网关

时间:2012-02-22 13:03:05

标签: eclipse jbpm

我是jbpm 5的新手。我尝试创建一个带有分歧和融合geteway的simpel进程。我使用本教程:http://www.mastertheboss.com/jbpm/345-jbpm-5-tutorial-first-example.html?start=1, 但是当我尝试执行我的过程时,我收到了这个错误:

[-1,-1]: Process 'Hello World' [com.sample.bpmn.hello]: Join node 'Gateway' [7] has no type.
Exception in thread "main" java.lang.IllegalArgumentException: Could not parse knowledge.
    at org.drools.builder.impl.KnowledgeBuilderImpl.newKnowledgeBase(KnowledgeBuilderImpl.java:67)
    at com.sample.ProcessMain.readKnowledgeBase(ProcessMain.java:31)
    at com.sample.ProcessMain.main(ProcessMain.java:20)
 the geteway 7 is he converge geteway

1 个答案:

答案 0 :(得分:0)

如果我不记得错,那么类型应该是AND,OR或XOR。 请查看以下示例:https://github.com/Salaboy/jBPM5-Developer-Guide