You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

Approval rules for DOR using AOR

Received Response
12
Views
1
Comments
edited Jun 6, 2024 12:02PM in Human Capital Management 1 comment

Summary:

We are setting up the Approval rules for Document of Records based on AOR availability

requirement is

  • Use HRBP Advisor (AOR) if exists
  • If HRBP Advisor is blank, then use HR Mgr_Sr Mgr
  • If HR Mgr_Sr Mgr is blank, then route to ROG Groups EDM

we have written below approval rule to check if HRBP Advisor exists

( ( ( Task.payload.getNewDoRByTransactionIdResponse.result.AuthorizationRequired == "Y" ) && ( Task.payload.Requestor's Assignment.result.personId == Task.payload.getNewDoRByTransactionIdResponse.result.personId ) ) && ( GetRepresentative("ROG_ADV",Task.payload.getRepresentativeListResponse.result) != null ) )


but this rule is always executed even when AOR exists or not.


Can someone please let me know if there is anything wrong with the rule 

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!