Showing an Entity Association

Last Updated: 12/03/2015 Introduced in Verision: 2.0

Entity associations are defined relationships between data entities. These relationships unite and describe related objects that exist elsewhere in the system. To create an entity association, first ensure that the Association Type exists. Then select the entity described in the first part of the relationship (also known as the From entity) and select the action Add Related > [Entity], where [Entity] is the entity described in the second part of the relationship (also known as the To entity).

Example

Our example will create a relationship between a computer, called Linux Server, and a monitor, called LG Monitor. This relationship will be established by using the pre-defined entity association type, Asset to Task.

We will begin in the System > Administration> System Data > Association Types page, where can see four association types already created.

AssocTypesFolder

 

We will add our new association type by clicking the Add Association Type button.

addassocTypeButton

 

In the resulting Add Association Type window, we will fill in the Name field with “Computer-monitor relation”. In the From Type Name dropdown, we will select DecisionsFramework.ServiceLayer.Services. Folder.Folder.

fomTypeDropDown

 

In the From Extension Type Name dropdown, we will select Decisions.Tasks.Service.CMDB.Computer.

fromExtensionTypeName

 

In the To Type Name dropdown, we will select DecisionsFramework.ServiceLayer.Services.Folder.Folder.

toTypeName

 

In the To Extension Type Name dropdown, we will select Decisions.Tasks.Service.CMDB.Monitor.

toTypeExtension

 

We will select the Is Bidirectional checkbox to make this relationships go both ways.

checkBidirectional

 

We will also select the Self Related checkbox to use the same name for the relationship, no matter the direction in which its being described.

checkSelfRelated

 

This completes our entity association type, so we will click the Save button to save it.

save

 

Next, we’ll navigate to the CMDB folder and select a computer entity, Linux Server.

selectLinux

 

To create the relationship between Linux Server and a monitor, we will open the Actions menu and select Add Related > Computer-monitor relation.

addRelation

 

 

In the resulting Select Entity pop-up, we will select LG Monitor and click OK.

pickMonitor

 

To view the bidirectionally of our relation, we will select LG Monitor and, in the Actions menu, select View Association > Linux Server association.

viewMonitorAssociation

 

In the resulting Linux Server association pop-up, we will see the item (Linux Server) that is related to to LG Monitor, as well as the entity association type (Asset to Asset).

 

result 

 

Need more help with:

Showing an Entity Association?

 

Contact us at support@decisions.com

Additional Resources