Get Started with Redwood for Oracle Cloud HCM Begin Now
Approval rules for DOR using AOR
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 .
Tagged:
0