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
Brian.ax17Brian.ax17 

Inserts into approval object

Through
    The problem is that I am not allowed by the API to set the OwnerId field, when using a standard user, but this field controls who the request is assigned to. I can set this field if I log in as an administrator, but the "created by" information then doesn't reflect who actually initiated the request (I can't set the createdbyID even as an administrator.) We can find no way to change the behaviour of the OwnerId field on the Approval object. The describe information confirms these restrictions.
 
    On most objects, it is reasonable not to be able to set the ownerId, but on the Approval object it has a different purpose and the default (creator id) is not useful.