Error RUL‑05717: Identifier “Worker’s Current Assignment Supervisor.Position Code” Is Not Valid Here
Summary:
Hello Experts, I am working on recreating the Termination approval rule after moving from V2 to V3, but I am getting the error message:“RUL‑05717: The identifier ‘Worker’s Current Assignment Supervisor.Position Code’ is not valid here.” I want to understand why this identifier is invalid and how to correctly reference supervisor details in V3 termination workflow.
V2 Configured Workflow Condition
((transactionApprovalRequest.sensorDataReferenceCode equalsIgnoreCase "Terminations") AND (Worker's Current Assignment Supervisor.Position Code.toLowerCase() != "1000001"))
Content (please ensure you mask any confidential information):
We recently migrated from V2 Termination to V3 Termination (Redwood flow). After enabling V3, I recreated the approval rule in Transaction Console to route termination approvals based on the