The processing of the countersigning node is a centralized voting process by multiple people on the same processing matter, so the countersigning node will involve operations such as the countersigning type and the setting of the countersigning pass rate. The countersignature mode can be used in conjunction with the approval gateway mode, because the final result of the countersignature is either approval or rejection, so it is very suitable for the application of the approval gateway mode. An example of a countersigning process graphic is as follows:        

In the programming model, whether the countersign node can pass requires calculating the pass rate of the countersign node. This is calculated based on the value of the approval status (ApprovalStatus) on each countersign instance node. When the number of countersigning approvals in the instance reaches the pass rate requirement, the entire countersigning node can be passed, and the matching branch is selected based on the branch on the approval gateway. This eliminates the need for additional condition parameter configuration and simplifies the processing of the countersigning process. The countersign approval data is as follows:

https://img2020.cnblogs.com/blog/808949/202011/808949-20201121104027091-1947046992.png