Symptom
After validating that the given assignment type is not associated with any item or program for either active or inactive users, an attempt to delete it results in a validation error:
Validation Error
You must correct the following error(s) before proceeding:
### cannot be removed because it is in use.
Environment
SAP SuccessFactors Learning
Reproducing the Issue
In Learning admin go to:
- References > Learning > Assignment Types;
- Search for the desired assignment type and try to delete it;
- The validation error is thrown.
Cause
The assignment type ID is referenced in the compliance report table and serves as a primary key in the database, which prevents it from being deleted.
Resolution
There would be two possible workarounds:
- Edit the assignment type name and put something as "Do not use".
- Reach out to the SAP Professional Services team to analyze and check the possibility to deleted it.
See Also
2178193 - Is it Possible to Change Item ID in SF LMS?
2149831 - To contact Professional Services, Partner and Account/Finance Team
Keywords
assignment type, delete, validation error, unable, not possible, cannot be removed because it is in use , KBA , LOD-SF-LMS-ADM , System Admin, Global Variables, References , LOD-SF-LMS-COR , LMS Core - Items, Catalog, Curricula , LOD-SF-LMS-ASP , Assignment Profile , Problem
SAP Knowledge Base Article - Public