The reference to entity "S" must end with the ';' delimiter.

rlegters
Mega Expert

In a custom app with four 'task' tables I'm using sysapproval_approver form to handle approvals. I've created a UI Action that opens a dialog box UI page that lets an approver reject the current approval and send it back to an earlier approver for more information. It does a GlideRecord query for the previous approvers, and the approver selects one of those from a drop down and the workflow figures out where to rollback the workflow to. It's working just fine on three of the tables using the same UI Action and UI page, but on the fourth, the exact same code gives me the error above on clicking the UI Action. As far as I can tell there is no capital 'S' anywhere in the code, so I'm stumped. The three forms that this works on store the possible approvers in the same table, and the fourth has a different workflow with the approvers stored in a different table, so I copied the UI page and changed the GlideRecord query to look at the correct table, but I got the error before I did that.

Any thoughts about where to look would be appreciated.

1 ACCEPTED SOLUTION

rlegters
Mega Expert

Found it! One of the approvers was 'EH&S' This wasn't failing for the other tables because EH&S was always the last approver, so that value never showed up in the list of previous approvers.


View solution in original post

1 REPLY 1

rlegters
Mega Expert

Found it! One of the approvers was 'EH&S' This wasn't failing for the other tables because EH&S was always the last approver, so that value never showed up in the list of previous approvers.