I have a data maintenance batch job that is running object script to fire a create record trigger.
When the batch is run, I am getting an error stating the current user and API user do not have persmission to access this object.
However, my Query API has view/create permission on the advance object as well as the object that is being created from the trigger (Daily Calculations).
What am I missing?
Yes, I can run the batch manually and it works fine. It just doesn't work if I let the scheduler run it.
i tried to add view permission to the user object, but I received the same error message.
The batch code is in my first post. The trigger is a create record trigger with a conversion map assigned.
I tried rebooting the server before I posted the thread to eliminate that issue.
That did it, thanks Gian!