on configuration item ref field on incident table how is sysparam_target_value set
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-26-2019 08:49 AM
Hello,
How is sysparam_target_value set on the pop out when I click the magnifying glass on the config item field on the incident form?
Thanks,
Warren
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-26-2019 09:06 AM
Are you wondering how Service-Now filters the cmdb_ci table for this reference field?
It's the Dictionary Entry for the "Configuration item" field on the task table. The "Reference qual" field is where you will find the conditions.
**Warning, altering this will impact all task types (Incident, change, problem etc.), and is not something you'd likely want to do.
Let us know what you're trying to do, and I'm sure there is a solution that doesn't involve modifying OOB.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-26-2019 09:14 AM
Hi Warren,
You are actually looking for reference qualifier in servicenow:
go through below links this might help you:
If you need anymore help on the same let me know
Regards,
Ajay
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-26-2019 09:34 AM
I'm working on a instance I am unfamiliar with and trying to workout how the previous dev has configured incident form to fix some defects that have been raised - ref qualifier is unchanged on the form is unchanged from OOTB
javascript: ['incident', 'problem'].indexOf(current.sys_class_name + '') == -1? '' : 'operational_statusNOT IN' + new OpsStatusFilter('cmdb_ci').by('CreateTask').join()
the problem I face:
when I create a new incident and click the magnifying glass next the config item ref field the url is as below with not value set in sysparm_reference_value
But once the form is saved sysparm_target_value has a sys id and no records are returned. I am tring to firgure out where the value is set so I can unset it
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-26-2019 10:21 AM
Ignore the above post I have just noticed sysparam_target_value is the value on the form 😐 Doh