Hi Wang,
As per your explanation
There is one thing which wrong
When you write A/A_B/B/B_C/C, you're starting with A — the entity name,
Hope it helps 🙂
When you do: A_B/B/B_C/C you're asking for A's that have an association over B to (a random) C, which is a yes or no condition, hence boolean.
If you want to compare to a specific C, you do:
A_B/B/B_C = $C
or
A_B/B/B_C/C/SomeIDAttribute = ID
Hi Wang,
I see now
The issue is that at the end of XPath you are comparing the Obect with an Object.
the B_C/C = $C is wrong cause you need to check if the association of B_C exists for object $C.
[A --A_B--> B --B_C--> C] this is correct format.
Compare the object referenced by that association with the C object stored in $C variable
Please reference the screenshot,
Hope it helps 😁