aboutsummaryrefslogtreecommitdiffstats
path: root/sdc-workflow-designer-server/src/main/resources/bpmn-templates/bpmn_template.xml
blob: 3cb112501a5aa502dcd7dd7c8b0a746f6a5baeb5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
<?xml version="1.0" encoding="UTF-8"?>
<definitions xmlns="http://www.omg.org/spec/BPMN/20100524/MODEL"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xmlns:activiti="http://activiti.org/bpmn" xmlns:bpmndi="http://www.omg.org/spec/BPMN/20100524/DI"
    xmlns:omgdc="http://www.omg.org/spec/DD/20100524/DC" xmlns:omgdi="http://www.omg.org/spec/DD/20100524/DI"
    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)
        #parse(
        "${templatePath}bpmn_element_${element.type}_template.xml"
        )
        #end

    </process>
</definitions>