Help with extension section of pattern
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-28-2022 11:19 AM
Hello. I've been trying to complete the Discovery Fundamentals course, but the simulator tasks have done some weird things, such as removing changes that were made previously or not allowing steps to work that should be working. For example, the task is to grab the processor name for a windows server, and insert it into the description field. Should be simple enough - WMI Query, Filter Table, then Set Parameter Value. Except the only thing that actually works is the WMI Query. The Filter Table does not work, even though I'm specifying the CI name as a condition.
- Labels:
-
Discovery
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-31-2022 03:28 AM
Hi
You can't do an equality on an array type, the [*] indicates that it will check that string from list of win servers names populated from this pattern.
You need to remove the * in [*] and just use [], which basically iterates through each row in win server table and checks for name matches the string. The unmatched values are removed.
Please mark Helpful / Accept Solution so that it helps others with similar questions.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-31-2022 05:48 AM
Hello. Thank you for your reply. I'd already tried several variations of the string but the tests still fail in the simulator and the pattern fails when ran.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-31-2022 06:21 AM
Hi
Can you share the screenshot of the error logs in discovery or in debug mode.
Probably the simulator could be not behaving the desired way, you can try out once on any other proper snow instances.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-31-2022 06:56 AM