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

Approval Re-Assignment Internal Server Error

How can you get information on why an internal server error is happening?


When I try to transfer an existing approval, using both the Mass approval transfer wizard or individually, I received an internal server error message, where the only difference is the error Id

Error ID: 764721291-6671 (-1939455650) 
Error ID: 80795130-8539 (-1939455650) 

 The entire debug log is as follows:

13:05:00.145 (145430000)|EXECUTION_STARTED
13:05:00.145 (145537000)|CODE_UNIT_STARTED|[EXTERNAL]|Workflow:ApprovalProcessActions
13:05:00.172 (172696000)|WF_REASSIGN_RECORD|[Quote: APTAR T/A a0jC0000005jNej]|xxxxx xxxxxx
13:05:00.815|CUMULATIVE_PROFILING|No profiling information for SOQL operations
13:05:00.815|CUMULATIVE_PROFILING|No profiling information for SOSL operations
13:05:00.815|CUMULATIVE_PROFILING|No profiling information for DML operations
13:05:00.815|CUMULATIVE_PROFILING|No profiling information for method invocations
13:05:00.702 (702472000)|CODE_UNIT_FINISHED|Workflow:ApprovalProcessActions
13:05:00.702 (702531000)|EXECUTION_FINISHED

 It is only happening with one custom object and only one record type for that object, so I can't imagine that it is actually a Salesforce problem, but without insight into the internal reassignment method, how does one go about troubleshooting this?


I have the same issue currently. I identified that it depends on profile that is assigned to user that is doing the reassignment. But comparison of profilse (one that works and one that doesn't) doesn't give any reasonable answer. 


I managed to resolve my issue. It was related with profiles. The profile didn't have permissions to a component controller and this component was used in email template sent out on submit for approval step (also sent out on reassignment obviously - to this newly assigned person).