function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
carramrod81carramrod81 

Querying Approval Object

I'm in a pickle, because there isn't functionality to tie an approval to a standard or custom object in a report, i'd like to pull down the data in the approval object and do a join with the custom object in question. My problem is is while the Approval object is queryable, it doesn't return any data in any tool i've hit it with.

 

My question is this, am I querying the correct object? Is there some hidden object containing Approval data that i can't see, which contains the data i need?

JimRaeJimRae
The approval object is related to the Contract object, for contract approvals.  If you are looking for approval workflow data, you need to look at the processinstance, processinstancehistory, processinstancestep and processinstanceworkitem objects.