在ofbiz中集成工作流程Jbpm

时间:2017-11-17 10:31:55

标签: workflow jbpm ofbiz

我想将工作流程jbpm插入到ofbiz中,但我不知道如何做到这一点,我问是否有任何人有任何想法谢谢

<definitions id="Definition"
         targetNamespace="http://www.example.org/MinimalExample"
         typeLanguage="http://www.java.com/javaTypes"
         expressionLanguage="http://www.mvel.org/2.0"
         xmlns="http://www.omg.org/spec/BPMN/20100524/MODEL"
         xmlns:xs="http://www.w3.org/2001/XMLSchema-instance"
         xs:schemaLocation="http://www.omg.org/spec/BPMN/20100524/MODEL BPMN20.xsd"
         xmlns:bpmndi="http://www.omg.org/spec/BPMN/20100524/DI"
         xmlns:dc="http://www.omg.org/spec/DD/20100524/DC"
         xmlns:di="http://www.omg.org/spec/DD/20100524/DI"
         xmlns:tns="http://www.jboss.org/drools">

<!-- nodes -->
<startEvent id="_1" name="StartProcess" />
<scriptTask id="_2" name="Hello" >
  <script>System.out.println("Hello World");</script>
</scriptTask>
<endEvent id="_3" name="EndProcess" >
    <terminateEventDefinition/>
</endEvent>

<!-- connections -->
<sequenceFlow id="_1-_2" sourceRef="_1" targetRef="_2" />
<sequenceFlow id="_2-_3" sourceRef="_2" targetRef="_3" />

1 个答案:

答案 0 :(得分:0)

OFBiz已放弃使用工作流引擎,而是使用Event Driven Architecture

您应该使用the OFBiz user ML来解决此类问题,例如请参阅http://markmail.org/message/6q3jodp72idcbt6u

尽管如此,您可能会对http://markmail.org/message/5scudisocmhljwqi

感兴趣

HTH