Termination approval rule logic for initiated by a particular Areas of responsibility
Summary:
We have a requirement where we need to make a termination approval logic in a way where it is initiated only by a particular AOR in our case Corporate HR Coordinator.
If we are using the below logic, the approvals are failing. Please kindly help.
((transactionApprovalRequest.Requestor == GetRepresentative("CORP_HR_COORDINATOR_1",Task.payload.Requestor's Representative.result)) AND (Worker's Current Assignment.result.Position contains "Corporate"))
Content (please ensure you mask any confidential information):
Code Snippet (add any code snippets that support your topic, if applicable):