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
| Parameter | Description |
|---|---|
| BaseObject | Always Self for this condition (the check is from Self's perspective) |
| CompareType | Type of comparison operation (Equal, NotEqual) |
| S1 | Relationship ID to check (defined in Relationship.json) |
Examples
| Description | BaseObject | Command | CompareType | S1 |
|---|---|---|---|---|
| Self has a spouse relationship name with Target | Self | Relationship | Equal | MarriagePartner |
| Self does not have an engagement relationship with Target | Self | Relationship | NotEqual | engagement |
| Self has a best friend relationship name with Target | Self | Relationship | Equal | BestFriend |
| Self does not have a business partner relationship with Target | Self | Relationship | NotEqual | BusinessPartner |
Back to Command FinderSearch and filter all 491 Script Condition documents