Create cmdb relation
servicenow_create_cmdb_relationAdd inbound or outbound relationships to a ServiceNow CMDB configuration item using its class and sys_id to map CI dependencies.
Instructions
Adds an inbound and/or outbound relation to the specified CI.
:param className: CMDB class name. :type className: str :param sys_id: Sys_id of the CI. :type sys_id: str :param inbound_relations: List of inbound relations. :type inbound_relations: list :param outbound_relations: List of outbound relations. :type outbound_relations: list :param source: Discovery source. :type source: str
:return: Response containing updated CI relations. :rtype: Response
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | No | ||
| source | No | ||
| sys_id | No | ||
| className | No | ||
| attributes | No | ||
| rel_sys_id | No | ||
| sysparm_limit | No | ||
| sysparm_query | No | ||
| api_parameters | No | ||
| sysparm_offset | No | ||
| inbound_relations | No | ||
| outbound_relations | No |