Unable to set AOR based approval condition.
Hello,
I am trying to set an approval condition based on AOR of requestor. But when initiating the transaction the approval condition in not able to fetch the workers representative.
I am using the condition as: (GetAllRepresentatives("ORA_EHS_REP",Task.payload.Worker's Current Representative.result) contains "Task.payload.transactionApprovalRequest.Requestor")
where "ORA_EHS_REP" is the responsibility type. Also =, below information reflects in the diagnostic log.
But the employee already has all the representatives to whom approval should be triggering.
If someone might have faced a similar issue then please help me out here.
Thanks.