Update Changes from CMDB - Remove Manual Endpoint CI's

basantsoni
Kilo Guru
Hi Friends, 
We are into a major issue in the APM application where "Update Changes from CMDB'' UI action on application services creation SVC Associated. But, When associations are getting created it's also creating CI's and Relationships. 
 
It's also creating relationships for manual endpoint class but we don't want Manual Endpoint. 
Does Anyone have any solutions for this? since custom BR are not working for this OOB code or API's.
 
Thanks, Basant 
4 REPLIES 4

Barry Kant
ServiceNow Employee
ServiceNow Employee

Hi Basant,

that is the nature of this Manual Endpoint. 
Based on this a cmdb_rel_ci is synced to the svc_ci_assoc table.  (so not the other way around)

 

This is downstream the Application Service records. So is this part of APM?
How does it affect APM for you?

When CI Relations are deleted it also deletes the manual endpoints as well as the svc_ci_assoc records. (as it keeps it in sync for a number of levels --> default 3)

BR,

Barry

HI Barry, 

Thanks for your reply. 

Here, we have some custom approval process that is getting impacted whenever manual endpoints relationships are getting created or many stakeholders do not want manual endpoint cmdb relationships when Update Changes from CMDB is run for application services. 

 

We have also tried to write custom BR on Manual Endpoint table to abort creation that is not happening. 

We have also tried to write custom BR on Relationships table to abort relationships for manual endpoints but it seems BR are getting spiked from Update change from CMDB. 

 

Appreciate your valuable response. 

Regards,

Basant 

 

 

 

Hi Basant,

this happens for calculated application services and tag base application services if I am correct. 

This is ootb function. If a CI relation is added within the nr of levels set (default 3 ) it will automatically create a Manual Endpoint for the above Application Service types. This to sync to the svc_ci_assoc table. 

If Approvals are needed then it needs to be done before the CI relation is created. But then you cannot use that UI action the way I see it. I think that action is not needed anyway if there is 1 initial endpoint created, then automatically it generates those for each new relation. 

 

if you delete the end point than the svc_ci_records gets deleted as well (or the ootb logic is broken). 

I would not recommend to go that path.

 

BR,

Barry

Hi Barry, 

Thanks, I have few Questions for this. 

1 : - How relationships are for manual endpoints CI's are getting created when we run update changes from CMDB for an app service. 

2: We have to stop manual endpoints relationships creation because as per our stakeholders these are unwanted CI's. 

3: Can we do some customisation to stop manual endpoints CI's or relationships creations.

4: API's that is getting used into UI Action # Update changes from CMDB. Can we use any function for this API's for stop or remove manual endpoint connections. 

Thanks, Basant