Is there any function for AOR we can use for "Adding a Contingent Worker" workflow ?
Summary:
We have a use case where if the HR (AOR) tries to add a contingent worker then it should go for Payroll's approval.
The scope of responsibility for the HR (AOR) is Business Unit.
I tried with this function but it is not accepted in the Add Contingent Worker Rule.
(GetAllRepresentatives("HR_REP",Task.payload.Worker's Current Representative.result) == transactionApprovalRequest.Requestor)
Seems like "Worker's Current Representative" is not applicable here.
Is there any function for AOR we can use for "Adding a Contingent Worker" workflow ?
Content (please ensure you mask any confidential information):
Version (include the version you are using, if applicable):