Symptom
After checking that no active and inactive user has an item/program assigned with the given assignment type, it is tried to delete the assignment type, but at its attempt, the system throws 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 the LMS admin side, click:
- References > Learning > Assignment Types;
- Search for the desired assignment type and try to delete it;
- The validation error is thrown.
Cause
This type of ID, the assignment type, falls under some of the IDs that are used on the compliance report table.
These are used as primary key in the database and they cannot be 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 , Learning Management System , 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