This analyzer removes deletions of Skills, since Skills cannot be deleted via the Salesforce metadata API.

What triggers this problem analyzer?

Attempting to delete Skills will cause this analyzer to run. If any deletions are detected, you'll see a message in Gearset stating that "Skills can't be deleted via the Salesforce metadata API."

Note: Gearset represents renaming as a deletion of the old name and an addition of the new name, so renaming a Skill may also trigger this analyzer.

What problem is it solving?

It is not possible to delete Skills through the Salesforce API. This type of metadata must be deleted through Salesforce's user interface.

If you try to deploy a Skills deletion you'll see the following error message: "Error: Cannot delete skills through API".

Removing Skills deletions will make the deployment more likely to succeed.

How does it work?

Gearset will automatically remove Skill deletions from your deployment package.

Note: In the case of renaming a Skill, Gearset will detect a deletion of the old name and an addition of the new name. The deletion will be removed by this analyzer, but the addition will not be, so your deployment will result in two copies of the Skill in the target - one with the old name and one with the new name.

Did this answer your question?