Where is the 'BCHMetaData' Script Include referenced in ServiceNow?

matthew_hughes
Kilo Sage

In ServiceNow, I've had to make an amendment to the OOTB Script Include 'BCHMetaData' so that the 'Create sub-capability'  action is removed.. However, I don't feel comfortable doing this and would rather make a clone of the Script Include.

 

However, I need to know where the OOTB Script Include 'BCHMetaData' is currently be used or referenced so that I can make the amendments in those areas too to use my clone.

6 REPLIES 6

Ehab Pilloor
Mega Sage

Hi @matthew_hughes,

 

You may cause unintended breaking of functionalities that would be hard to track and potentially creating technical debt, if you edit the OOB Script Include. 

 

Why not create a different script include and call it where your usecase needs it?

 

Please Accept this response as Solution if it assisted you with your question & Mark this response as Helpful.

 

Kind Regards,

Ehab Pilloor

 

Hi @Ehab Pilloor  I've created a clone of the OOTB Script Include, but I just need to know where the OOTB Script Include is referenced within the EA Workspace

Hi @matthew_hughes,

 

You can search in script for every scriptable table. Search in BRs for Script contains BCHMetaData, Client Script contains BCHMetaData, Script Action contains BCHMetaData, etc.

 

I think you can do a full search in ServiceNow Studio, not sure how, but I think its possible to see in Studio where the Script Include is referenced.

 

Please Accept this response as Solution if it assisted you with your question & Mark this response as Helpful.

 

Kind Regards,

Ehab Pilloor

Hi @Ehab Pilloor The work I'm doing is part of the EA Workspace.