We're reclaiming inactive PDIs to keep them available for active builders. Learn what's changing, who's affected, and how to protect your work. Read More

Where is the 'getCapabilityMetadata' Scripted REST Resource referenced in ServiceNow?

matthew_hughes
Kilo Sage

In ServiceNow, I've had to make an amendment to the OOTB Scripted REST Resource 'getCapabilityMetadata' so that it references another Script Include to remove the 'Create sub-capability'  action. However, I don't feel comfortable doing this and would rather make a clone of the Scripted REST Resource.

 

However, I need to know where the Scripted REST Resource 'getCapabilityMetadata' is currently be used or referenced so that I can make the amendments in those areas too to use my clone.

2 REPLIES 2

Ankur Bawiskar
Tera Patron

@matthew_hughes 

did you search in scripted rest api?

Regards,
Ankur
Certified Technical Architect  ||  10x ServiceNow MVP  ||  ServiceNow Community Leader

Hi @Ankur Bawiskar  Yes. So I saw that it's part of Business Capability Hierarchy Scripted REST Service, however I'm wanting to know how it's referenced in EA Workspace?