CIs are not getting created despite correct payload and IRE simulation

nicks8850
Tera Expert

Here is the payload.

 

{
"items": [
{
"className": "cmdb_ci_win_server",
"values": {
"sys_id": "bf0dd0ab3b9c6a10df0f234dfgdwer9"
},
"internal_id": "59920214-5aaf-4367-9f02-3e583716b486"
},
{
"className": "cmdb_ci_appl_generic",
"values": {
"tcp_port": "",
"running_process_key_parameters": "\"E:\\Program Files\\Tableau\\Tableau Server\\data\\tabsvc\\services\\tabsvc_0.20253.26.0403.1112\\tabsvc\\tabsvc.exe\" run",
"discovery_source": "ServiceNow",
"name": "Tableau Server Application Manager@myHostname",
"running_process_command": "E:\\Program Files\\Tableau\\Tableau Server\\data\\tabsvc\\services\\tabsvc_0.20253.26.0403.1112\\tabsvc\\tabsvc.exe",
"classifier": "1e57d97a3b1c031083d670e643e45a43",
"running_process": "32b1b5453b810f1013c7c2c643e45aac",
"pid": "5432",
"version": "2025.3",
"sys_class_name": "cmdb_ci_appl_generic"
},
"sys_object_source_info": {
"source_name": "ServiceNow",
"source_native_key": "TableauServerApplicationManager::@myHostname"
},
"internal_id": "f3199f2c-6e9b-4a6a-aa4c-d2eab6743e8b"
},
{
"className": "cmdb_ci_appl_generic",
"values": {
"tcp_port": "",
"running_process_key_parameters": "\"E:\\Program Files\\Tableau\\Tableau Server\\data\\tabsvc\\services\\tabsvc_0.20253.26.0403.1112\\tabsvc\\tabsvc.exe\" run",
"discovery_source": "ServiceNow",
"name": "Tableau VizQL Server@myHostname",
"running_process_command": "E:\\Program Files\\Tableau\\Tableau Server\\data\\tabsvc\\services\\tabsvc_0.20253.26.0403.1112\\tabsvc\\tabsvc.exe",
"classifier": "1e57d97a3b1c031083d670e643e45a43",
"running_process": "32b1b5453b810f1013c7c2c643e45aac",
"pid": "5432",
"version": "2025.3",
"sys_class_name": "cmdb_ci_appl_generic"
},
"sys_object_source_info": {
"source_name": "ServiceNow",
"source_native_key": "TableauVizQLServer::@myHostname"
},
"internal_id": "6c246859-3137-48fd-a2f8-4283d25ec7d1"
},
{
"className": "cmdb_ci_appl_generic",
"values": {
"tcp_port": "",
"running_process_key_parameters": "\"E:\\Program Files\\Tableau\\Tableau Server\\data\\tabsvc\\services\\tabsvc_0.20253.26.0403.1112\\tabsvc\\tabsvc.exe\" run",
"discovery_source": "ServiceNow",
"name": "Tableau Server VizPortal@myHostname",
"running_process_command": "E:\\Program Files\\Tableau\\Tableau Server\\data\\tabsvc\\services\\tabsvc_0.20253.26.0403.1112\\tabsvc\\tabsvc.exe",
"classifier": "1e57d97a3b1c031083d670e643e45a43",
"running_process": "32b1b5453b810f1013c7c2c643e45aac",
"pid": "5432",
"version": "2025.3",
"sys_class_name": "cmdb_ci_appl_generic"
},
"sys_object_source_info": {
"source_name": "ServiceNow",
"source_native_key": "TableauServerVizPortal::@myHostname"
},
"internal_id": "76e313c5-abc9-422d-a2fe-fd744ab4c0bc"
}
],
"relations": [
{
"type": "Runs on::Runs",
"child": 0,
"parent": 1
},
{
"type": "Runs on::Runs",
"child": 0,
"parent": 2
},
{
"type": "Runs on::Runs",
"child": 0,
"parent": 3
}
],
"mainCiType": "cmdb_ci_appl_generic"
}

 

++++++++++++++++++++++++++++++++++++

 

TEST IRE Results:

 

++++++++++++++++++++++++++++++++

{
"items": [
{
"className": "cmdb_ci_win_server",
"values": {
"sys_id": "bf0dd0ab3b9c6a10df0f0c54c3e45a79"
},
"internal_id": "59920214-5aaf-4367-9f02-3e583716b486"
},
{
"className": "cmdb_ci_appl_generic",
"values": {
"tcp_port": "",
"running_process_key_parameters": "\"E:\\Program Files\\Tableau\\Tableau Server\\data\\tabsvc\\services\\tabsvc_0.20253.26.0403.1112\\tabsvc\\tabsvc.exe\" run",
"discovery_source": "ServiceNow",
"name": "Tableau Server Application Manager@myHostname",
"running_process_command": "E:\\Program Files\\Tableau\\Tableau Server\\data\\tabsvc\\services\\tabsvc_0.20253.26.0403.1112\\tabsvc\\tabsvc.exe",
"classifier": "1e57d97a3b1c031083d670e643e45a43",
"running_process": "32b1b5453b810f1013c7c2c643e45aac",
"pid": "5432",
"version": "2025.3",
"sys_class_name": "cmdb_ci_appl_generic"
},
"sys_object_source_info": {
"source_name": "ServiceNow",
"source_native_key": "TableauServerApplicationManager::@myHostname"
},
"internal_id": "f3199f2c-6e9b-4a6a-aa4c-d2eab6743e8b"
},
{
"className": "cmdb_ci_appl_generic",
"values": {
"tcp_port": "",
"running_process_key_parameters": "\"E:\\Program Files\\Tableau\\Tableau Server\\data\\tabsvc\\services\\tabsvc_0.20253.26.0403.1112\\tabsvc\\tabsvc.exe\" run",
"discovery_source": "ServiceNow",
"name": "Tableau VizQL Server@myHostname",
"running_process_command": "E:\\Program Files\\Tableau\\Tableau Server\\data\\tabsvc\\services\\tabsvc_0.20253.26.0403.1112\\tabsvc\\tabsvc.exe",
"classifier": "1e57d97a3b1c031083d670e643e45a43",
"running_process": "32b1b5453b810f1013c7c2c643e45aac",
"pid": "5432",
"version": "2025.3",
"sys_class_name": "cmdb_ci_appl_generic"
},
"sys_object_source_info": {
"source_name": "ServiceNow",
"source_native_key": "TableauVizQLServer::@myHostname"
},
"internal_id": "6c246859-3137-48fd-a2f8-4283d25ec7d1"
},
{
"className": "cmdb_ci_appl_generic",
"values": {
"tcp_port": "",
"running_process_key_parameters": "\"E:\\Program Files\\Tableau\\Tableau Server\\data\\tabsvc\\services\\tabsvc_0.20253.26.0403.1112\\tabsvc\\tabsvc.exe\" run",
"discovery_source": "ServiceNow",
"name": "Tableau Server VizPortal@myHostname",
"running_process_command": "E:\\Program Files\\Tableau\\Tableau Server\\data\\tabsvc\\services\\tabsvc_0.20253.26.0403.1112\\tabsvc\\tabsvc.exe",
"classifier": "1e57d97a3b1c031083d670e643e45a43",
"running_process": "32b1b5453b810f1013c7c2c643e45aac",
"pid": "5432",
"version": "2025.3",
"sys_class_name": "cmdb_ci_appl_generic"
},
"sys_object_source_info": {
"source_name": "ServiceNow",
"source_native_key": "TableauServerVizPortal::@myHostname"
},
"internal_id": "76e313c5-abc9-422d-a2fe-fd744ab4c0bc"
}
],
"relations": [
{
"type": "Runs on::Runs",
"child": 0,
"parent": 1
},
{
"type": "Runs on::Runs",
"child": 0,
"parent": 2
},
{
"type": "Runs on::Runs",
"child": 0,
"parent": 3
}
],
"mainCiType": "cmdb_ci_appl_generic"
}

+++++++++++++++++++++++++++++++

9 REPLIES 9

@nicks8850 - Can you confirm whether you have the entry in the sys_object_source for the "source_native_key" and "source_name" you mentioned. 

 

In the below screenshot, source_name is name in the sys_object_source. If you have the entry then IRE will consider the "sys_object_source_info" details from the JSON payload else it will use the default class level identifier. 

VasantharajanN_0-1780928806035.png

 


Thanks & Regards,
Vasanth

nicks8850
Tera Expert

does anyone has any thoughts on using these two fields?

 

"source_name": "ServiceNow",
"source_native_key": "TableauServerApplicationManager::@myHostname"

 

Can we use them in Discovery patterns? If yes, are there any downsides and why not many people use them?

Hi @nicks8850 ,

 

May i know the use case ? This functionality is mainly used for SGC's and using it for discovery will impact if there would be many records in the sys_object_source table i guess , other than that i donot see any issue , while saying that i donot see any use of doing that as well just because you cannot build the unique source native key for each and every record .

 

Hope this helps

 

If it helped you please do mark it as helpful and accept the solution

 

Thanks,

Vishnu

Thankyou for your response. 

 

However, isnt it something like wherein we can set it manually in the pattern as I did and you can see it in the paylaod too. I am giving it something unique based on concatenation of attributes in the pattern itself.

 

Thanks,

Nirmal Sharma

I saw your way of setting it as i can see there the hostname is set as to be unique which is not a mandatory thing to be unique and it it can change in future course of time which will lead the servicenow to create a new record in the sys_object_source and the old record will stay on which is like a stale record (not literally) which will then check for the identification rules. I hope you get my point here , if not please feel free to ask your concern.

 

Hope this helps

 

If it helped you please do mark it as helpful and accept the solution

 

Thanks,

Vishnu