Did you check the steps in the identification section are configured and tested correctly

samreenayesha
Tera Contributor

Task: Create iTunes Discovery Pattern (Part 2) - Failed

I am attaching the screenshot of the step first step is giving me data including "itunes"

and in second step no matter what i try, what filter i use i am getting blank record please help.

samreenayesha_0-1742161914183.png

samreenayesha_1-1742161992573.png

I tried every possible combination to get the data vendor contains "apple inc" etc etc nothing works

samreenayesha_2-1742162047098.png

 

1 ACCEPTED SOLUTION

Selva Arun
Mega Sage
Mega Sage

Hi Samreen,

 

I understand how frustrating it can be when Discovery Patterns don't return the expected results. Based on your description and screenshots, here are a few things you can check and try to resolve the issue:

  1. Verify the First Step Output:
    • Since the first step is returning data (including "iTunes"), ensure that the data being passed to the second step is correct.
    • Double-check the output of the first step to confirm that it includes the necessary attributes (e.g., vendor, product name, etc.) that the second step relies on.
  2. Check the Filter in the Second Step:
    • Ensure that the filter in the second step is configured correctly. For example:
      • If you're filtering by vendor, use "Vendor contains 'Apple'" or "Vendor contains 'Apple Inc.'".
      • If you're filtering by product name, use "Product Name contains 'iTunes'".
    • Avoid overly restrictive filters that might exclude valid results.
  3. Test the Identification Section:
    • Go to the Identification Section of the Discovery Pattern and ensure that the identification rules are configured properly.
    • Test the identification rules manually to confirm they are working as expected.
  4. Use Debug Mode:
    • Run the Discovery Pattern in Debug Mode to see the exact data being passed between steps. This can help identify where the issue is occurring.
  5. Check the Data Source:
    • Ensure that the data source (e.g., Win32_Product or Win32_Process) is correct for the step.
    • For iTunes, the correct table is typically Win32_Product, not Win32_Process.
  6. Guided Setup:
    • If you're still having trouble, try using the Guided Setup for Discovery Patterns. It can help simplify the process and ensure all required fields are selected.

If you've already tried all of the above and are still facing issues, could you share:

  • The exact filter you're using in the second step.
  • The output of the first step (if possible).

This will help narrow down the issue further. Let me know how it goes!

Supporting Documentation/Articles:
Here are some resources that might help you troubleshoot further:

  1. ServiceNow Discovery Patterns Documentation:
    https://docs.servicenow.com/bundle/utah-it-operations-management/page/product/discovery/concept/disc...
  2. Debugging Discovery Patterns:
    https://docs.servicenow.com/bundle/utah-it-operations-management/page/product/discovery/task/debuggi...
  3. Identification and Reconciliation Rules:
    https://docs.servicenow.com/bundle/utah-it-operations-management/page/product/cmdb/task/t_ConfigureI...

If you believe the solution provided has adequately addressed your query, could you please **mark it as 'Helpful'** and **'Accept it as a Solution'**? This will help other community members who might have the same question find the answer more easily.

 

Thank you for your consideration.


Selva Arun

View solution in original post

4 REPLIES 4

Selva Arun
Mega Sage
Mega Sage

Hi Samreen,

 

I understand how frustrating it can be when Discovery Patterns don't return the expected results. Based on your description and screenshots, here are a few things you can check and try to resolve the issue:

  1. Verify the First Step Output:
    • Since the first step is returning data (including "iTunes"), ensure that the data being passed to the second step is correct.
    • Double-check the output of the first step to confirm that it includes the necessary attributes (e.g., vendor, product name, etc.) that the second step relies on.
  2. Check the Filter in the Second Step:
    • Ensure that the filter in the second step is configured correctly. For example:
      • If you're filtering by vendor, use "Vendor contains 'Apple'" or "Vendor contains 'Apple Inc.'".
      • If you're filtering by product name, use "Product Name contains 'iTunes'".
    • Avoid overly restrictive filters that might exclude valid results.
  3. Test the Identification Section:
    • Go to the Identification Section of the Discovery Pattern and ensure that the identification rules are configured properly.
    • Test the identification rules manually to confirm they are working as expected.
  4. Use Debug Mode:
    • Run the Discovery Pattern in Debug Mode to see the exact data being passed between steps. This can help identify where the issue is occurring.
  5. Check the Data Source:
    • Ensure that the data source (e.g., Win32_Product or Win32_Process) is correct for the step.
    • For iTunes, the correct table is typically Win32_Product, not Win32_Process.
  6. Guided Setup:
    • If you're still having trouble, try using the Guided Setup for Discovery Patterns. It can help simplify the process and ensure all required fields are selected.

If you've already tried all of the above and are still facing issues, could you share:

  • The exact filter you're using in the second step.
  • The output of the first step (if possible).

This will help narrow down the issue further. Let me know how it goes!

Supporting Documentation/Articles:
Here are some resources that might help you troubleshoot further:

  1. ServiceNow Discovery Patterns Documentation:
    https://docs.servicenow.com/bundle/utah-it-operations-management/page/product/discovery/concept/disc...
  2. Debugging Discovery Patterns:
    https://docs.servicenow.com/bundle/utah-it-operations-management/page/product/discovery/task/debuggi...
  3. Identification and Reconciliation Rules:
    https://docs.servicenow.com/bundle/utah-it-operations-management/page/product/cmdb/task/t_ConfigureI...

If you believe the solution provided has adequately addressed your query, could you please **mark it as 'Helpful'** and **'Accept it as a Solution'**? This will help other community members who might have the same question find the answer more easily.

 

Thank you for your consideration.


Selva Arun

I tried data source :- Win32_InstalledWin32Program

And then also in a guided setup

Its working for me got the values and also task got validated 

Great, it worked for you 🙂