Skip to content

configuration_item_relations - relation name not matching ServiceNow values #519

@markatdxb

Description

@markatdxb
SUMMARY

Hello, i would like to know if there is a source of relation names which you use in the module
In this example you show Depends_On

- name: Create relation between two ci
  servicenow.itsm.configuration_item_relations:
    name: Depends_On
    direction: outbound
    state: present
    parent_sys_id: "{{ parent_sys_id }}"
    parent_classname: cmdb_ci_linux_server
    targets:
      - name: target1
        sys_id: target1_id

When looking at ServiceNow cmdb_rel_type table, there is no Depends_On type but Depends on
Where or how could i get the correct names of all available relation types or is there some simple logic ?

ISSUE TYPE
  • Documentation Report
COMPONENT NAME

configuration_item_relations

ANSIBLE VERSION

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions