Creates an inbound and/or outbound relation for a specific configuration item (CI) in the ServiceNow CMDB. Use this action when you need to establish relationships between configuration items in the CMDB, such as indicating that a server 'runs on' hardware, a service 'depends on…
sys_idRequiredstringThe sys_id of the source configuration item to add relations to. This is a 32-character hexadecimal string. Example: '12345678901234567890123456789012'
classnameRequiredstringThe CMDB class name for the configuration item (e.g., 'cmdb_ci', 'cmdb_ci_server', 'cmdb_ci_service'). This is the table name that defines the type of CI.
inbound_relationsarrayList of inbound relations to create to this CI from other CIs. Inbound relations represent relationships where other CIs are the source. Example: To indicate another CI 'depends on' this CI, use type 'Used by::Depends on'.
outbound_relationsarrayList of outbound relations to create from this CI to other CIs. Outbound relations represent relationships where this CI is the source. Example: To indicate this CI 'depends on' another CI, use type 'Depends on::Used by'.
dataRequiredData from the action execution
errorstringError if any occurred during the execution of the action
successfulRequiredbooleanWhether or not the action execution was successful or not
API key connection. Risk level 2 of 5.
Free Action
No published Skills explicitly reference this Action yet.