Discovery Pattern variables
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
While creating patterns in discovery, the CI Attribute pane on the right hand side (refer to the screenshot attached) shows the list of all the fields for the selected CI Type. Are these fields treated as temporary variables which will then populate the target CMDB table while running discovery or are these the actual fields on the target table.
Also , what is the difference between the CI attributes and Temporary Variables pane.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago - last edited 3 weeks ago
Hi @hameetkaur
CI Attributes represent the actual fields of the Tomcat WAR CI in the CMDB like name , install directory etc... these attributes get populated during discovery. Temporary attributes exist only while pattern is running, they are simply helpers used before mapping final values into the real CI attributes.
If you find this answer useful, please mark it as solution accepted/helpful
Thanks and Regards,
Mohammed Zakir
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
Hi @Mohammed8 ,
Thanks for your response.
If CI Attributes represent the actual fields of the Table, then why these actual fields are represented using a "$" sign when using in a operation as "$" is used to represent existing or future variables in a pattern.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago - last edited 3 weeks ago
Hi @hameetkaur
As per my understanding, the $ is simply part of patterns expression syntax. Any value we use inside a pattern step whether it’s a CI attribute or a temporary variable needs the $ prefix. CI attributes are CI table fields, it just appear with $ when we reference them in pattern.
Here is the link you can check for CI attribute : https://www.servicenow.com/community/itom-articles/create-new-or-modify-patterns/ta-p/2295761
If you find this useful, please mark it solution accepted / helpful
Regards,
Mohammed Zakir
