2.4 Indepth underStanding of the "Approval Panel"
Approval rule is "count"
When the number of people approved is greater than or equal to the set value of the passing rule, the action after approved is directly executed.
For example, when the number of people approved is > = 1 and the number of approvers is 2, if one of them passes the approval, it will be regarded as approved.
When the approval rule is reasonable and normal, after the user performs the approval operation, assuming that all the remaining people agree and the number of people who have passed is still less than the set value, the rejection action is directly executed.
For example, if the number of people approved is >= 2 and the number of approvers is 2, if one of them rejects, the rejection action will be executed directly.
When the approval rule is abnormal (the set number of people approved > the total number of people participating in the approval), when the approval of all users is completed, it will remain in this status and will not be processed;
For example: if the number of people approved is >= 3, and the number of approvers is 2, after all users have been approved, the pass conditions still cannot be met. Therefore, the process will remain in this status and no operations will be performed.
Approval rule is "percent"
If the proportion of people approved is greater than or equal to the set value, the action after approved is directly executed.
For example, the proportion of people approved is > = 50%, and the number of approvers is 3. If the first two users have approved, the proportion of people approved is 66.7% > the set value of 50%. Therefore, the operation after approved is directly executed.
After approval, if the value of (1 - proportion of rejected persons) is less than the set value, the action after rejection will be executed directly.
For example, the proportion of people approved is > = 50%, and the number of approvers is 3. If two users reject, the proportion of the people rejected is 66.7%, (1-0.667) * 100 < the set value 50%. Therefore, the action after rejection is directly executed.
After all users are approved, the proportion of people approved is calculated. If it meets the condition, the action of passing is executed; if it does not meet the condition, the action of rejecting is executed
For example, the proportion of people approved is > = 50%, and the number of approvers is 2. When all users have passed, the proportion of people approved is 100% > = the set value 50%. Therefore, the operation after approved is directly executed, and vice versa.