diff options
author | Lvbo163 <lv.bo163@zte.com.cn> | 2017-12-11 15:09:05 +0800 |
---|---|---|
committer | Lvbo163 <lv.bo163@zte.com.cn> | 2017-12-11 15:09:05 +0800 |
commit | 8fbae2c1cb3b4c5cb8a73b0226b9ad3bd64e3eae (patch) | |
tree | d11fc94460fcf0f7bbbfb393ada9e263db3a5dcf /sdc-workflow-designer-server/src/main/resources | |
parent | 4a62939436ddb538958c52c397befc9b1cb44435 (diff) |
Converter support service task
Workflow converter support service task element of BPMN.
Issue-ID: SDC-745
Change-Id: Ic4e4e839a97e35c8c9300862419153d389dba34d
Signed-off-by: Lvbo163 <lv.bo163@zte.com.cn>
Diffstat (limited to 'sdc-workflow-designer-server/src/main/resources')
-rw-r--r-- | sdc-workflow-designer-server/src/main/resources/bpmn-templates/bpmn_element_serviceTask_template.xml | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/sdc-workflow-designer-server/src/main/resources/bpmn-templates/bpmn_element_serviceTask_template.xml b/sdc-workflow-designer-server/src/main/resources/bpmn-templates/bpmn_element_serviceTask_template.xml new file mode 100644 index 00000000..f5d63a23 --- /dev/null +++ b/sdc-workflow-designer-server/src/main/resources/bpmn-templates/bpmn_element_serviceTask_template.xml @@ -0,0 +1,24 @@ +
+<serviceTask id="${element.id}" name="${element.name}" activiti:class="${element.handler}">
+ <extensionElements>
+ <activiti:field name="uri">
+ <activiti:string><![CDATA[${element.url}]]></activiti:string>
+ </activiti:field>
+ <activiti:field name="method">
+ <activiti:string><![CDATA[${element.method}]]></activiti:string>
+ </activiti:field>
+ #if (${element.produces})
+ <activiti:field name="accept">
+ <activiti:string><![CDATA[${element.produces}]]></activiti:string>
+ </activiti:field>
+ #end
+ #if (${element.consumes})
+ <activiti:field name="contentType">
+ <activiti:string><![CDATA[${element.consumes}]]></activiti:string>
+ </activiti:field>
+ #end
+ <activiti:field name="parameters">
+ <activiti:string><![CDATA[${element.parameters}]]></activiti:string>
+ </activiti:field>
+ </extensionElements>
+</serviceTask>
|