How to create Servicenow CMDB relations thru Morpheus

We have customer where we are working on Servicenow cmdb integration and wondering if Can Morpheus create application to virtual machine relation with CMDB update? like the following screenshot captured from Servicenow:


Relation2
@aabraham, Is that something you have help to answer?

Hi @piyush.jain we have this in roadmap. I have created scripts to make those relationships for some customers. You have to get the sys_id of the relation type, the sys_id of the CI you want to relate the instance CI.

uri=api/now/cmdb/instance/cmdb_ci_vmware_instance/vmSysId/relation
body={"inbound_relations":[{"type":relationTypeSysId,"target":appSysId,"sys_class_name":"cmdb_ci_web_application"}],"source":"ServiceNow"}
method= post

Noted with Thanks.