Enhance a Discovery Pattern: Modify An Existing Pattern vs. Create A Duplicate

Tom Rausch
Tera Guru

What is the preferred method to enhance a Discovery Pattern?

  • Modify an existing pattern
  • Create a duplicate of an existing pattern and modify the newly created duplicate

Here are some considerations.

  • Modifying an existing pattern will generate skipped changes during system patches and new releases. These skipped changes have to be addressed in perpetuity.
  • Creating a duplicate pattern can require much more immediate configuration work
    • Add pattern extensions
    • Include the duplicate pattern in the Pre/Post scripts
    • Configure the actions related to CI lifecyles
    • The YouTube video Discovery - Replicating Out-of-the-Box Patterns gives a procedure for creating a duplicate Discovery Pattern.
  • A duplicate pattern will not include future enhancements in updated out-of-the-box patterns. The duplicate pattern will have to be reviewed each time the base out-of-the-box pattern is updated.

Opinions on the best practice differ.

Customizations should be made to baseline objects where necessary, so that conflict resolution 
and decision making can be appropriately recorded in the updates. Hidden customizations may cause 
administrators to overlook updates in future assessments in case reverts or merges are necessary.
Avoid copying objects. Instead, update objects in place wherever possible, except for Service Portal 
widgets and other items designed to be reused

TomRausch_0-1770766576433.png

  • The ServiceNow White Paper Business-smart customization and associated PowerPoint presentation "What Are The Best Practices For Customization?", both from August, 2024, generally advise a cautious, measured approach to implementing customizations.
  • In August, 2023, SPOC advised customizations can lead to ServiceNow Customization Horror Stories.
  • A undated document "ServiceNow Overall Best Practices" by Haviesh Kosuru advises, "Never modify OOTB scripts, rules, or configurations directly." Rather, clone the item and modidy the cloned item.

@doug_schulze may be able to comment on this post.

0 REPLIES 0