> For the complete documentation index, see [llms.txt](https://docs.ins-pi.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.ins-pi.com/command/prior-v26.0/features/relationship-editor/relationship-editor-edit.md).

# Editing Relationships

{% hint style="warning" %}
**Previous release**

This page describes the release before v26.0, which used the classic ServiceNow forms and lists. It is kept for reference. For the current version, see [Relationship Editor](https://docs.ins-pi.com/command/features/relationship-editor.md).
{% endhint %}

This document shows you how to adjust mapped relationships.

## Check Relationship Types

To check the relationship type between existing relationships:

* Hover your cursor over the blue line linking the elements.

![](https://414746897-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fx4mE784snR9Eb8oVrk4e%2Fuploads%2Fgit-blob-6c355c72b096e340dd4688ccdcbbe7ed9009ca69%2F30b95c9-upmx-edit_relationships1.png?alt=media)

A pop-up appears that describes the relationship between the elements.

## Remap Relationships

To switch an element from downstream to upstream:

1. Select the element. An orange border appears around both circles.
2. Drag the element to the left circle. An assignment pop-up menu appears.
3. Select the relationship type.
4. Select **Done**.

![](https://414746897-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fx4mE784snR9Eb8oVrk4e%2Fuploads%2Fgit-blob-231f313d30d4f46f04500439caf8f7938597cb31%2F3a249db-upmx-edit_relationships2.gif?alt=media)

The relationship is now remapped. To map from upstream to downstream, follow the same procedure, except drag the element to the right circle.

## Delete Relationships

To delete a relationship:

1. Select the circle beside the element you wish to remove and hold the mouse button down. The circle changes from blue to a trash icon, and the line connecting the element to the main element disappears.

![](https://414746897-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fx4mE784snR9Eb8oVrk4e%2Fuploads%2Fgit-blob-ccdeef44f4a342cf916071c866958e487c4f9256%2Faacd1cc-upmx-edit_relationships3.png?alt=media)

2. Drag the circle in any direction away from its starting position. Release the mouse button.
3. A pop-up menu appears. To delete the element, select **Delete**.

![](https://414746897-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fx4mE784snR9Eb8oVrk4e%2Fuploads%2Fgit-blob-dce6a0ea8d291c0061e59596cf1693b205bfdfdf%2F35f5c5a-upmx-edit_relationships4.png?alt=media)

## Access Elements' Form View

If you want to return to the form view of the primary element:

1. Right-click either the left or right blue circles.

![](https://414746897-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fx4mE784snR9Eb8oVrk4e%2Fuploads%2Fgit-blob-4e6da772dfb2f8a6bd74959eeea7bc548a4ee405%2Fb50e45a-upmx-edit_relationships5.png?alt=media)

2. From the pop-up menu select **Open Form**.

If you want to see the form view of a connected element:

1. Right-click on its blue circle.

![](https://414746897-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fx4mE784snR9Eb8oVrk4e%2Fuploads%2Fgit-blob-a889d3ed905451dcbf613ebeb676388b6de879fb%2F03de7d4-upmx-edit_relationships6.png?alt=media)

2. From the pop-up menu select **Open Form**.

## Map Connected Elements' Relationships

To map relationships for a connected element in an existing diagram:

1. Right-click on its blue circle.

![](https://414746897-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fx4mE784snR9Eb8oVrk4e%2Fuploads%2Fgit-blob-c8151011476e042b4853a82012bea23353b8e948%2F9ae8850-upmx-edit_relationships7.png?alt=media)

2. From the pop-up menu select **Jump to**.

   The connected element now becomes the primary element, and you can map upstream and downstream relationships to it.

## Update Organizational Unit

1. Select the **Relationships Field** button.

![](https://414746897-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fx4mE784snR9Eb8oVrk4e%2Fuploads%2Fgit-blob-6526cdea847a9d6051753dd91c2bae5a920294af%2Fdaae07c-upmx-menu_options2.png?alt=media)

2. Choose a new organizational unit from the Relationship Fields drop-down menu.
3. Select **Confirm** to apply the update.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.ins-pi.com/command/prior-v26.0/features/relationship-editor/relationship-editor-edit.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
