CRM 2011 Workflow Fails 'You do not have enough privileges...'

I have recently deployed a new process to our CRM system for our production area. The problem was, that the workflows were failing, because the user didnt have enough privileges to update a record.

The Semi-Helpful failure message

The Semi-Helpful failure message

The error detail is only a little more helpful in tracking down the actual item that the user needs access to. However it does contain a useful bit of info I used to tract the entity down - the Object Type Code.

WFerrorfail1.jpg

Next step is to resolve this Object Type Code. Thanks to the guys over at http://www.sidesofmarch.com/ who provided this useful piece of SQL code to run against the CRM DB to get the information. 

select 
coalesce(OriginalLocalizedName,name) as DisplayName,
Name as SchemaName,
ObjectTypeCode

from EntityLogicalView
order by ObjectTypeCode