Creating a Get Next Approver rule
Example of a Get Next Approver rule
The following figure illustrates an example of a Get Next Approver rule for the Parent-Child process in the Lunch Scheduler sample application.
The Basic tab in this example does not contain a Run If statement, so the rule always runs. The If Multiple Approvers setting causes the Approval Server to create a single signature record for the approver list (One Must Sign). Therefore, only one approver action is required for the approval request to be complete. The Next Approver Rule Is field is set to Ending, so no other Get Next Approver rules will be processed after this one.
On the Set Fields tab, the Qualification statement causes the Approval Server to match the current approver ($Approver$) to the Login Name field in the AP-Sample:Signature Authority form during the query. The current approver could be the approval request submitter or an approver.
The rule retrieves the "parent" of the current approver by getting the value from the $Manager Login Name$ field on the matching record in the AP-Sample:Signature Authority form and setting the value in the Next Approver field of the approval request.
Example of a Get Next Approver rule in a Parent-Child process