Skip to main content

Condition_HasRelationshipRecord

Description

Checks whether BaseObject has a specific relationship record entry with the counterpart entity. Relationship records accumulate over time but older records may be removed when the list grows too large.

Note

Relationship records are added through Execute_RelationshipTalkRecord and similar actions. The record is stored on the owner side (the entity who performed the action toward the target).

Parameters

ParameterDescription
BaseObjectCharacter on whose record list the check is performed (Self/Target)
CompareTypeType of comparison operation (Equal, NotEqual)
S1Relationship record ID to look for

Examples

DescriptionBaseObjectCommandCompareTypeS1
Self received a proposal from TargetSelfHasRelationshipRecordEqualPropose_Success_Target
Self did not receive a proposal from TargetSelfHasRelationshipRecordNotEqualPropose_Success_Target
Self proposed to TargetSelfHasRelationshipRecordEqualPropose_Success_Self
Target received a proposal from SelfTargetHasRelationshipRecordEqualPropose_Success_Target