diff options
Diffstat (limited to 'sdc-workflow-designer-server/src/main/resources/bpmn-templates')
-rw-r--r-- | sdc-workflow-designer-server/src/main/resources/bpmn-templates/bpmn_dataObject_template.xml | 5 | ||||
-rw-r--r-- | sdc-workflow-designer-server/src/main/resources/bpmn-templates/bpmn_template.xml | 6 |
2 files changed, 11 insertions, 0 deletions
diff --git a/sdc-workflow-designer-server/src/main/resources/bpmn-templates/bpmn_dataObject_template.xml b/sdc-workflow-designer-server/src/main/resources/bpmn-templates/bpmn_dataObject_template.xml new file mode 100644 index 00000000..6e0721e5 --- /dev/null +++ b/sdc-workflow-designer-server/src/main/resources/bpmn-templates/bpmn_dataObject_template.xml @@ -0,0 +1,5 @@ +<dataObject id="${dataObject.id}" name="${dataObject.name}">
+ <extensionElements>
+ <activiti:value><![CDATA[${dataObject.value}]]></activiti:value>
+ </extensionElements>
+</dataObject>
diff --git a/sdc-workflow-designer-server/src/main/resources/bpmn-templates/bpmn_template.xml b/sdc-workflow-designer-server/src/main/resources/bpmn-templates/bpmn_template.xml index c2125138..3cb11250 100644 --- a/sdc-workflow-designer-server/src/main/resources/bpmn-templates/bpmn_template.xml +++ b/sdc-workflow-designer-server/src/main/resources/bpmn-templates/bpmn_template.xml @@ -6,6 +6,12 @@ typeLanguage="http://www.w3.org/2001/XMLSchema" expressionLanguage="http://www.w3.org/1999/XPath"
targetNamespace="http://www.activiti.org/test">
<process id="${process.id}" isExecutable="true">
+ <!-- dataObjects -->
+ #foreach( $dataObject in $process.dataObjectList)
+ #parse(
+ "${templatePath}bpmn_dataObject_template.xml"
+ )
+ #end
<!-- Perform bpmn elements -->
#foreach( $element in $process.elementList)
|