For more information, please refer to this announcement explaining best practices for getting answers to questions.
Getmanager function with Action condition
Content
Has anybody tried to add an action condition along with GetManager function in Approvals?
Requirement - We have multiple Actions within Change Assignment Transaction and following scenerios to check -
a. Manager Initiates Action1- Approval Rule 1
b. Manager Initiates Action2 - Approval Rule 2
c. HR Initiates Action1 – Approval Rule 3
For the first scenario I have configured -
((Worker's Proposed Assignment.result.Action Name == "Action1") AND (GetManager("LINE_MANAGER",Task.payload.Worker's Current Assignment.result.Assignment Supervisor) equalsIgnoreCase "Task.payload.transactionApprovalRequest.Requestor"))
But this is erroring out.
Please do let me know if anybody has tried this before.