I want to make that all Ci`s with type node automatically relate with one custom type CI.
In Enricment Rules i create query that contains two ci types without relations, and i create relationship between this ci types in enricment mode.
When i`m trying to save enricment rule i have en error "Node or relationship element in query is required".
When i add relationship in query mode between ci types error disappear, but i need to add relationship betwenn cis that no have any relations, so how i can make this? Query in Enricment rules can`t put to query result two ci type instances without relations?
P.S. This thread has been moved from Application Perf Mgmt (BAC / BSM) Support and News Forum to CMS and Discovery Support and News Forum. -HP Forum Moderator
What was the node condition that you would want to apply on your nodes? There are two challenges with your approach:
1) Without selecting any node condition even if the enrichment would have worked it would have inserted a relationship from each Node to each Custom CI.
2) If you are applying any node condition you would have to change it for each set of CIs, which is not a wise approach.
Obviously you need something common between both CITs like a attribute or some other factor and based on that you can insert the relationship.
If you find this reply helpful, Click the KUDOS button on the bottom to say 'Thanks'