/
Delegation of Authority
Delegation of Authority
Set up multiple groups for each delegation and obtain the names of these groups.
$group1 = "EXC Manual JE Approver 1";
$group2 = "EXC Manual JE Approver 2";
$group3 = "EXC Manual JE Approver 3";
Determine which group is going to be assigned based on specific rules.
if (@@debitAmount < 5000) {
$approvalGroupName = $group1;
}
elseif(@@debitAmount >= 5000 and @@debitAmount < 10000) {
$approvalGroupName = $group2;
}
elseif(@@debitAmount >= 10000) {
$approvalGroupName = $group3;
}
This will assign Approver 1 if the amount is less than 5k, Approver 2 if between 5k and 10k, and Approver 3 is greater than 10k.
Obtain the group UID using the PMF function.
$groupUid = PMFGetGroupUID($approvalGroupName);
@@approvalGroupUid = $groupUid;
Finally, edit the assignment rules for the approval task using the approval group UID. This must be a self-service value-based assignment.
, multiple selections available,
Copyright© 2024 IFS AB. Copying prohibited. All rights reserved.