Reference field not getting set during discovery
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-17-2024 02:13 PM - edited 06-17-2024 02:26 PM
I'm trying to set a reference field from one table to another using the discovery pattern. We have a custom table called FQTP and I'm trying to populate a reference to a record from that table on our Linux Server table, under a variable called FQTP Ref. I'm having issues with the steps, I've created a custom operation that is looking at the custom FQTP table, and successfully finding the sys id of the record that's needed, but when I try and set it in the pattern it's not populating in the variable. I've attached screenshots showing the data is populating, it's just not setting the variable field with the reference record.
- Labels:
-
Discovery
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-18-2024 05:30 AM
I would recommend using pre post processing scripts to handle reference fields. Check out - https://www.servicenow.com/community/itom-blog/using-pre-post-processing-scripts-to-handle-reference...