The CreatorCon Call for Content is officially open! Get started here.

Pattern Designer: Create ManyToMany Relation

George96
Tera Contributor

Hi,

I’m a bit stuck on discovering installed software. We have a Linux MID-Server that we want to use to discover a Windows Server. Since the discovery from Linux to Windows is normally not possible, we have installed an HPE iLO board in the Windows Server. This gives us the possibility to discover the iLO board and use the Pattern Designer to get the installed software from the Windows Server. My problem now occurs when I want to save these entries in ServiceNow. I’m trying to use the ‘Create Relation/Reference’ step in the Pattern Designer to save the software in the ‘cmdb_software_instance’ table and set the references to my Windows CI and the Software table. When I test the pattern, it creates two records for each software in the ‘cmdb_software_instance’ table. One record contains the reference to the CI but not the software reference, and the second has the reference to the software but not to the CI.

Is it even possible to create many-to-many references, or am I doing something wrong?

 

George96_0-1695644787118.png

George96_1-1695644817690.png

George96_2-1695644851630.png

George96_3-1695644882503.png

 

Resulting Records:

George96_4-1695645152377.png

 

 

0 REPLIES 0