auto approval rule failing RUL-05717: The identifier "Task.creator" is not valid here.
Summary:
We have some legacy approval rules from go live that were configured and work fine. But adding a new rule seems to trigger this error.
Content (please ensure you mask any confidential information):
Currently we have Starting Participant and top participant set to HierarchyBuilder.getPrincipal(Task.payload.submitter,-1,"","") for a working approval rule. We then copied that rule to add new IF criteria ContractHeaderFlexfield.FLEXContext = "Funding" but saving the rule triggers the error
RUL-05717: The identifier "Task.creator" is not valid here.RUL-05717: The identifier "Task.creator" is not valid here.
Version (include the version you are using, if applicable):
0