+ Start a Discussion

Inserts into approval object

    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.