Approval Rule Logic for Manager initiated Contract Conversion
Summary:
We are trying to create two rules for contract conversion.
1) Employee initiated and 2) Line Manager Initiated.
For Manager initiated contract conversion, we are trying to use the logic : ((getNewDoRByTransactionIdResponse.result.documentType == "Employee Request for Contract Conversion") AND (transactionApprovalRequest.Requestor == GetManager("LINE_MANAGER",Task.payload.Worker's Current Assignment.result.Assignment Supervisor))). But we are getting an error. Kindly refer the below screenshot.
Can someone suggest a workaround for this ?
Content (please ensure you mask any confidential information): Tools > Transaction Console > Approval rules : Manage document records
Version (include the version you are using, if applicable):
Code Snippet (add any code snippets that support your topic, if applicable):