Get Unique Related Object
Gets the first object connected to the specified object by a relation.
Description
Retrieves the first object connected to the specified object via the specified relation (see Query Follow Relation From Object
).
This is a shortcut for Query Follow Relation From Object
-> Observe Query
-> Get First Object In List
.
Note: The relation can be followed in any direction, so if we have A -> B we can retrieve the first instance of A linked to a given instance of B, or the first instance of B linked to a given instance of A.
Inputs
- Object (Object): The origin object.
- Relation (Relation): The relation to follow.
Outputs
- Value (Object): The object at the other side of the relation.