Configure automatic status change for approvals
You can configure the Approvals feature to automatically change status according to the percentage of approvers who accept or reject an object in the Approval cycle.
In triggerswebplatform.xml, the EvaluateApprovalTrigger
trigger defines when an object in the Approval cycle changes from its original
open
status to a final status, such as
approved
or rejected
.
Note: You can set the
validation
parameter
trigger to any number from 0 to 1. This value sets the percentage of approvers
required for changing the object's status to approved
. Suppose you set validation
to 0.75. That establishes
the percentage of approvals required for an object in the Approval cycle to change
to the approved
status as 75 percent. If less than 75 percent of
the assigned approvers approve of the object, the Approval changes to
rejected
.
Note: It is not necessary for all assigned
approvers to complete the approval to trigger the automatic status
change.
Tip: You can also comment out the trigger to disable the automatic status change of
objects with an Approval status.
To configure automatic status change for approvals: