当前位置:网站首页>17 servicetask of flowable task

17 servicetask of flowable task

2022-06-13 05:34:00 dream21st

1 Service tasks ServiceTask

Service tasks can be triggered automatically , It can also be triggered passively by setting parameters . The main function of a service task can be to set a processing class or a listening class to operate the corresponding business logic . The core processing classes can be implemented through Class Type(class class ),Expression( expression ),Delegate Expression( Proxy expression ) There are three ways to set .

1.1 Prepare the following flow chart :

1.2 The details of the XML The contents are as follows :

<?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="http://ww
原网站

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