Welcome to Community Week 2025! Join us to learn, connect, and be recognized as we celebrate the spirit of Community and the power of AI. Get the details  

Question about Pattern customizations and Discovery & Service Mapping Patterns plugin Upgrade

Kavita Beazley
Tera Contributor

Hi All,

So i have a quick question concerning how the Pattern Customizations work in conjunction with the "Discovery & Service Mapping Patterns" plugin upgrade.

If we customize certain patterns;

a) will the "Discovery & Service Mapping Patterns" plugin upgrade(the latest one is 1.0.88) just not apply the upgrade to that particular customized pattern/s only OR

b) does the upgrade not get applied to ALL patterns/prepost scripts, etc irrespective of whether they are customized or not?

I am guessing it should be a) but wanted to confirm.

Thanks!

3 REPLIES 3

Anshu_Anand_
Kilo Sage

If you need to modify an OOB pattern:

  • copy it;
  • deactivate the OOB one;
  • update the copy and test it.

If you need to add some stuff to OOB pattern use an extension section which does not affect plugin upgrade.

Similarly , you can add new post-pre processing script instead of modifying it.

For example i need to get some info from incoming payload, i did not modify but created a new post-processing script.

Similar query

https://community.servicenow.com/community?id=community_question&sys_id=0af7fb3ddbb8a810190b1ea66896...

Hope its helpful

Regards,
Anshu

Hi Anshu,

Thanks for responding to my question here. However, my question was not around how to customize patterns or best practices around that(the link/details you provided is very helpful for that so Thanks).

I was wanting to know if we did customize certain patterns using the best practices you mentioned;

a) will the "Discovery & Service Mapping Patterns" plugin upgrade(the latest one is 1.0.88) just not apply the upgrade to that particular customized pattern/s only OR

b) does the upgrade not get applied to ALL patterns/prepost scripts, etc irrespective of whether they are customized or not?

I am guessing it should be a) but wanted to confirm.

Thanks!

Rahul Priyadars
Tera Sage

a) will the "Discovery & Service Mapping Patterns" plugin upgrade(the latest one is 1.0.88) just not apply the upgrade to that particular customized pattern/s only---> Not Applied

b) does the upgrade not get applied to ALL patterns/prepost scripts, etc irrespective of whether they are customized or not?---> Upgrade is applied but customization done with following best practices will not be wiped out during Upgrade.

Pattern Customization is done using extended Section of Pattern-->https://developer.servicenow.com/connect.do#!/event/knowledge19/LAB1542/knowledge19_LAB1542_extending_patterns

Regards

RP