Skip to main content

Condition_IsLocateSiteInBaby

Description

Checks whether the BaseObject's located site has any baby.

By default, this condition returns true if either:

  • The located site has a visiting baby (visitor), OR
  • The owner household of the located site has a baby member.

If S1 is specified, the check can be narrowed down:

  • S1 = Household : checks only owner household baby members
  • S1 = Visitor : checks only visiting babies in the site

Parameters

ParameterDescription
BaseObjectThe actor to validate (Self or Target).
CompareTypeType of comparison operation (Equal or NotEqual).
S1(Optional) Filter: Household or Visitor.

Examples

DescriptionBaseObjectCommandCompareTypeS1
Checks whether target's located site has any baby.TargetIsLocateSiteInBabyEqual
Checks whether target's located site has a baby in owner household.TargetIsLocateSiteInBabyEqualHousehold
Checks whether target's located site has a visiting baby.TargetIsLocateSiteInBabyEqualVisitor