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
| Parameter | Description |
|---|---|
| BaseObject | The actor to validate (Self or Target). |
| CompareType | Type of comparison operation (Equal or NotEqual). |
| S1 | (Optional) Filter: Household or Visitor. |
Examples
| Description | BaseObject | Command | CompareType | S1 |
|---|---|---|---|---|
| Checks whether target's located site has any baby. | Target | IsLocateSiteInBaby | Equal | |
| Checks whether target's located site has a baby in owner household. | Target | IsLocateSiteInBaby | Equal | Household |
| Checks whether target's located site has a visiting baby. | Target | IsLocateSiteInBaby | Equal | Visitor |
Back to Command FinderSearch and filter all 491 Script Condition documents