How to update the configuration item field with desired class on Incident form?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-04-2023 01:04 PM - edited 05-30-2024 11:37 PM
We are allowing incident creation from exteral platform via incident table API.
We have a CI named 'ABC' in windows server table.
we have another CI with same name 'ABC' but in Network switch table.
Now when an Incident needs to be created via REST API, the payload will be sent like this:
{
"caller_id":"Ram",
"assignment_group":"Netowrk Support",
"short_description":"test incident",
"cmdb_ci":"abc"
}
but how to select the CI from specific class, like I always want to select the CIs from server table?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-04-2023 11:02 PM
Hi @Suggy
Instead of querying cmdb_ci table, query on the particular class cmdb_ci_server table.
Mark it helpful if this helps you to understand. Accept solution if this give you the answer you're looking for
Kind Regards,
Rohila V
2022-25 ServiceNow Community MVP
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-06-2023 11:05 AM
Hi @Voona Rohila I have updated my question with more clarity. We are using Incident table API.
I dont think what you answered is right for my question. Could you pelase read my updated question.
Thnks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-30-2024 10:02 AM
Anyone?