Skip to main content
OperationSyntaxDescriptionExample
object equivalence==A double equal sign means the two objects should be the same.n: Party.OrgName [ a: @Party.Address ] parent( n ) == parent( obj( a ) ) Checks that the Address and OrgName search elements are children of the same instance of the Party group. The variable a is a token variable, not an object, so we have to access its object before we can use it in the “parent” condition. n: Party.OrgName [ a: @Party.Address ] parent( n ) ~= parent( obj( a ) ) Checks that the Address and OrgName search elements are children of different instances of the Party group.
object non-equivalence~=A tilde sign followed by an equal sign means the two objects should not be the same.See example above.
access the objectobj(token variable) obj(token variable, index)”obj” lets you access the object in the token variable. If there are several objects mentioned within the variable and you need to get only one of them, specify the token’s index.See example above.
parent groupparent(search element name)”parent” lets you access the parent group of a search element that was already mentioned in the rule.See example above.