Debugging and Validating the Pattern
On this page
In this lesson, you will learn:
- How to test a custom pattern end to end
- How to trigger it from Discovery
- How to validate the nightly result
π Quick look back: Last time: Adding Connection Logic Where Required. You learned how the connection section links the archiver to snwr-db-01.
1 The Problem: A Pattern That Only Works in Debug Isn’t Done
The archiver pattern works in Debug mode. But nightly scans still don’t run it, because:
- Nothing tells Discovery to use it.
π The fix: Link it to the process classifier, then prove a normal scan finds the archiver.

2 Linking it
The process classifier from Discovery Configuration recognises the archiver. Set it to trigger the new pattern.
π‘ Good to know: Need a refresher? See Discovery Configuration βΊ Process Classifiers for Applications for the classifier.
3 Validating it
- Run Quick Discovery on the server.
- Check the CI and links.
- Let one nightly scan run, and check again.
- Check no duplicate archiver CI appears.
4 Project Clear View: How We Implemented It
π Situation: The pattern worked in Debug only.
π§ Decision: Link it and validate it through normal scans.
π οΈ Steps we took:
- Set the process classifier to trigger the archiver pattern.
- Ran Quick Discovery on the lab copy on snwrdev.
- Moved it to snwrtest and ran Quick Discovery on snwr-mail-02.
- Checked the next nightly scan.
β What we verified:
- The nightly scan updated the archiver CI.
- No duplicates appeared.
π Evidence: Validation evidence for Quality Assurance.
5 Quick recap
- Debug success isn’t enough.
- Link the pattern to the process classifier.
- Validate with Quick Discovery, then a nightly scan.
- Check for duplicates.
6 Check yourself
Think of your answer first. Then tap to check.
1 What makes Discovery run the archiver pattern? Show answer
The process classifier triggers it.
2 How do you validate beyond Debug? Show answer
Quick Discovery, then a nightly scan, checking the CI and links.
3 Which server did you test on snwrtest? Show answer
snwr-mail-02.
Nice work! The archiver pattern runs every night. π
Next up: Packaging and Promoting the Pattern Safely
Was this lesson helpful?
Please log in to share lesson feedback.
Have a question or doubt?
Ask here and get help from instructors and fellow learners.
Only logged-in learners can post.




