We're reclaiming inactive PDIs to keep them available for active builders. Learn what's changing, who's affected, and how to protect your work. Read More

"Approval For" field not populating in Approval

Tim Wmson
Giga Expert

I have a couple of approvals that work by populating the Approval For field. However, I created a new approval for a different table and it isn't populating the Approval For field. what am I missing?

1 ACCEPTED SOLUTION

Tim Wmson
Giga Expert

We fixed this by running a script which went back and extended the Task table to the Purchase Order table. Unless the table extends Task you can't run approvals on it


View solution in original post

7 REPLIES 7

Brad Tilton
ServiceNow Employee

There's another field called Approving [document_id] which is a document ID field which may hold those values, so I would check there first.


I am seeing the values in document_id but you can't dot-walk to that field for values because it's an array


Brad Tilton
ServiceNow Employee

Yep. Is your approval running against a non-task table? I think that's the circumstance where it uses the document ID field instead since the approval for field references the task table, I but I don't remember for sure. If that's the case you may have to get at the data differently than dot walking.


Tim Wmson
Giga Expert

We fixed this by running a script which went back and extended the Task table to the Purchase Order table. Unless the table extends Task you can't run approvals on it