Symptom
When trying to delete an inactive Workflow Rule, error message "500 SAP Internal Server Error" appears.
Environment
SAP Cloud for Customer
Reproducing the Issue
- Go to Administrator > Workflow Rules.
- Filter by All.
- Selected the desired deactivated rule and click on trash icon to delete.
- Dump error occurs.
Cause
When trying to delete a Workflow Rule, the system also deletes the Workflow Rule logs.
Usually when this "500 Internal Server Error" occurs when trying to delete the rule(s), is because there is a lock error in backend caused by the existing logs that were not yet deleted by the system. There is a daily report that deletes rule logs that are older than 180 days and it needs to be completed before the deletion. The system cannot lock this many objects at the same time for deletion and thus the error occurs.
Resolution
This is the system expected behavior.
However, those Workflow Rule logs can be manually deleted by C4C development. Please open a case under LOD-CRM-WKF requesting for this deletion if necessary.
Keywords
C4C, WKF, appears, occurs, displays, shows, happens, appearing, appeared, occurring, occurred, displaying, displayed, happening, happened, delete, remove, deactivate, inactivate, not able, unable, not possible, impossible, stopping, stops, cannot, can't, can not, could not, couldn't, not allowed , KBA , LOD-CRM-WKF , Workflow , Problem
SAP Knowledge Base Article - Public