Condition_IsFamilyTeacher
Description
Checks whether the BaseObject character is school staff at the school site of any child of the opposite object. When BaseObject is Target, the parent side is Self. Empty S1 accepts any school staff member in the child's school; S1 can filter by Principal, Teacher, or a concrete Job.Id.
Parameters
| Parameter | Description |
|---|---|
| BaseObject | School staff candidate. Usually Target in interaction data. |
| CompareType | Equal checks that the staff relation exists; NotEqual negates. |
| S1 | Optional filter: Principal, Teacher, or a concrete Job.Id. |
Notes
The parent side is the opposite script object resolved from BaseObject and is not a table parameter.
Examples
| Description | BaseObject | Command | CompareType | S1 |
|---|---|---|---|---|
| Check if Target is staff at my child's school | Target | IsFamilyTeacher | Equal | |
| Check if Target is my child's principal | Target | IsFamilyTeacher | Equal | Principal |
Back to Command FinderSearch and filter all 491 Script Condition documents