The approval gateway is an extension of the or branch, because in some approval processes, the handling of matters is either approval or rejection, and the result orientation is very clear, without the interference of other conditional parameters. Therefore, for this type, a special approval gateway mode can be constructed. The difference from the or branch gateway mode is that there is no need to configure conditional parameters, but an enumeration type setting of approval results: approval or rejection is added. The configuration items of the transfer attribute are shown in the figure below:

In the processing of a task node, an approval gateway node can be directly drawn behind it, so that when the user agrees (Agreed) or rejects (Refused) the task node (the WorkflowService interface can be called), the corresponding branch will also be selected. The example graphic is as follows: