Skip to main content

Condition_Relationship

Description

Checks whether the relationship between Self and Target has the specified relationship name. Always evaluates from Self's perspective regardless of BaseObject setting.

Parameters

ParameterDescription
BaseObjectAlways Self for this condition (the check is from Self's perspective)
CompareTypeType of comparison operation (Equal, NotEqual)
S1Relationship ID to check (defined in Relationship.json)

Examples

DescriptionBaseObjectCommandCompareTypeS1
Self has a spouse relationship name with TargetSelfRelationshipEqualMarriagePartner
Self does not have an engagement relationship with TargetSelfRelationshipNotEqualengagement
Self has a best friend relationship name with TargetSelfRelationshipEqualBestFriend
Self does not have a business partner relationship with TargetSelfRelationshipNotEqualBusinessPartner