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
aparnaaparna workflow could not perform a pending action

We have been getting the following error in production whenever a time based workflow triggers an email alert.

The following error occurred:
Insufficient privileges to all elements of Approval Assignment Email Template
Unable to use the Approval Assignment Email Template to send approval notification. Access error: Object type not accessible. Please check permissions and make sure the object is not in development mode: unable to obtain exclusive access to this record

Object Type: Opportunity

Record: IPS

Workflow Rules attempted: Send Opportunity Expiration Notification New

Workflow Actions attempted: Design Registration Expiration

This happens when the current user's email address is partner portal user's email address. But this user has Read, Create and Edit access to Opportunity. I am not sure what is causing this problem.

Any suggestions on this is most welcome. Thanks.


In my experience these workflow actions are re-queued and re-attempted - when I've had that message in the past it's been because too many workflow actions are trying to fire simultaneously.  


I'd recommend keeping an eye it.  My bet is the workflow actions will eventually perform and the issue will resolve itself.


Hope this helps.