diff options
author | Lvbo163 <lv.bo163@zte.com.cn> | 2017-12-07 16:51:06 +0800 |
---|---|---|
committer | Lvbo163 <lv.bo163@zte.com.cn> | 2017-12-07 16:58:57 +0800 |
commit | dddc0584ea7ace73025b4eee59c0c2c5dc339084 (patch) | |
tree | 2770779a83acc7430dddfdef744d1121db363f57 /sdc-workflow-designer-server/src | |
parent | 2b649eca391c3e93a025270bae643ac2374684b5 (diff) |
Add sequence flow xml template
Workflow convert support sequence flow, add xml template
Issue-ID: SDC-418
Change-Id: I54b850a42d85ae6103a11a4a85275efe6f954743
Signed-off-by: Lvbo163 <lv.bo163@zte.com.cn>
Diffstat (limited to 'sdc-workflow-designer-server/src')
-rw-r--r-- | sdc-workflow-designer-server/src/main/resources/bpmn-templates/bpmn_sequenceFlow_template.xml | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/sdc-workflow-designer-server/src/main/resources/bpmn-templates/bpmn_sequenceFlow_template.xml b/sdc-workflow-designer-server/src/main/resources/bpmn-templates/bpmn_sequenceFlow_template.xml new file mode 100644 index 00000000..e95721fc --- /dev/null +++ b/sdc-workflow-designer-server/src/main/resources/bpmn-templates/bpmn_sequenceFlow_template.xml @@ -0,0 +1,5 @@ +<sequenceFlow id="${sequenceFlow.id}" sourceRef="${sequenceFlow.sourceRef}" targetRef="${sequenceFlow.targetRef}">
+#if(${sequenceFlow.condition} && ${sequenceFlow.condition} != '')
+ <conditionExpression xsi:type="tFormalExpression"><![CDATA[${sequenceFlow.condition}]]></conditionExpression>
+#end
+</sequenceFlow>
\ No newline at end of file |