当前位置:网站首页>19 calling subprocess (callactivity) of a flowable task

19 calling subprocess (callactivity) of a flowable task

2022-06-13 05:34:00 dream21st

1 Calling process CallActivity

Invoking a task means that in a main process , You can start a sub process through this component , After the subprocess is completed , Return to the operation of the main process .

1.1 Fixed sub process

Can be in CallActivity In the configuration file of the component Called Element Add a fixed sub process to the attribute , And then operate . Write two process definitions , A main process , A sub process .

1.1.1 The main flow chart :

 1.1.2 The main process is detailed XML The contents of the document :

<?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:xsd="http://www.w3.org/2001/XMLSchema" xmlns:activiti="http://activiti.org/bpmn" xmlns:bpmndi="http://www.omg.org/spec/BPMN/20100524/DI" xmlns:omgdc=
原网站

版权声明
本文为[dream21st]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/02/202202280509431692.html