Termination workflow error
Summary:
Hi All,
We have a requirement for Terminate Employment and below are the conditions we used
1.(transactionApprovalRequest.Requestor == GetManager("Line Manager",Task.payload.Worker's Current Assignment.result.Assignment Supervisor)) — HR Approval
2.(transactionApprovalRequest.Requestor != GetManager("Line Manager",Task.payload.Worker's Current Assignment.result.Assignment Supervisor)) — Auto Approve
When we submit a transaction as a line manager , it is not routing any approvals as configured and it is getting auto approved. I have verified the user and Line Manager does't have any other roles other than LM but not sure why this behaviour
Please let us know if anything is missing here