Question about Pattern customizations and Discovery & Service Mapping Patterns plugin Upgrade
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-01-2022 07:55 AM
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!
- Labels:
-
Discovery
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-01-2022 08:25 AM
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
Hope its helpful
Anshu
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-01-2022 09:46 AM
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!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-02-2022 06:06 AM
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