The PTC Community email address has changed to firstname.lastname@example.org. Learn more.
we want to query on the 2nd level of Relationsips.
I have the following Item Relationship constructs:
Item1 -> Item2 -> Item3
I want to build the following query:
Get all Item3 which,
do not have a Relationship
do not have a Relationship to ID = 123456 (which is from Type Item1)
Is there a reason why item 3 can not be related to item 1 as well?
Yes it can have a direct relationship.
Both scenarios are viable that's why my query cannot give me all relevant Item3.
The direct relationship is not the problem there.
I just simplified the second rule. You can split the second rule into:
do not have a direct Relationship to ID = 123456 (which is from Type Item1)
do not have an indirect Relationship to ID = 123456 (which is from Type Item1) through any Item2
Ah, now I understand. And then would the ideal case for your scenario be that you would find all items which are not directly or indirectly related to ID 123456 by any degree of separation?
maybe a dupe of Nested Queries?
I think you are right it may be the same use case
We are archiving your idea as part of a general review. This action is based on the age of your idea and the total number of votes received, as per this announcement.
You can always post a new idea with all the details required in the form.
Thank you for your participation.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.