---
title: IsTrueForAllChildren
slug: neurons-for-itsm/admin-user-help/enu/latest/istrueforallchildren
createdAt: 2026-07-14T19:16:44.122Z
---

Evaluates the **childPredicateExpression** for each business object instance related to (child of) a parent business object and returns true only if the **childPredicateExpression** returns true for all children.

## Syntax

IsTrueForAllChildren(parentObjectName, recId, childRelationshipRef, childPredicateExpression)

## Enabled For

For a description of the business object categories, see [Notes on "Enabled For"](docId\:u26v9feCFs6iLwA0-PVJd).

| Business Object Category                                                                    | Yes/No |
| ------------------------------------------------------------------------------------------- | ------ |
| Business Rules: Before-Save Rules                                                           | Yes    |
| Business Rules: Calculation Rules (After Save, with or without Also Recalculate on Load)    | Yes    |
| Business Rules: Calculation Rules (Before Save or Always, without Also Recalculate On Load) | Yes    |
| Business Rules: Calculation Rules (Before Save or Always, with Recalculate On Load)         | Yes    |
| Business Rules: Editing Rules                                                               | Yes1   |
| Business Rules: Initialization Rules                                                        | Yes    |
| Business Rules: Read Only Rules                                                             | No     |
| Business Rules: Required Rules                                                              | Yes    |
| Business Rules: Validation Rules                                                            | Yes    |
| Client Expressions                                                                          | No     |
| Object Permissions                                                                          | No     |
| Services                                                                                    | Yes    |
| LDAP                                                                                        | Yes    |
| Mobile                                                                                      | Yes    |
| Quick Actions (except UI Quick Actions)                                                     | Yes    |
| UI Quick Actions                                                                            | No     |
| Reports                                                                                     | Yes    |
| Search/Dashboard without field references                                                   | Yes    |
| Search/Dashboard with field references                                                      | No     |
| 1. Except when this field appears on a form or is triggered by such a field.                |        |

## Parameters

| Parameter                | Description                                                                                  |
| ------------------------ | -------------------------------------------------------------------------------------------- |
| parentObjectName         | The name of the parent business object.                                                      |
| recId                    | The RecID of the parent business object.                                                     |
| childRelationshipRef     | The name of the child business object, including the relationship tag.                       |
| childPredicateExpression | The Boolean child search expression. Evaluates all child business objects for the condition. |

## Return Value

:::Paragraph{indent="1"}
Boolean value. Returns true if all child business objects satisfy the condition defined by the **childPredicateExpression** parameter; otherwise, returns false.
:::

## Example

:::Paragraph{indent="1"}
Use the following example to check if an incident has any open tasks:
:::

:::BlockQuote
$((Status != "Closed" && Status != "Resolved")&#x20;
|| IsTrueForAllChildren("Incident#", RecId, "Task#Assignment.Rev3",&#x20;
"$(Status == 'Completed' || Status == 'Cancelled')"))
:::

:::Paragraph{indent="1"}
*IsTrueForAllChildren() Example*
:::

::Image[]{src="https://api.archbee.com/api/optimize/parib0MC3hVoUNdfQdnac/VQUvynzMYWZhDcq81zQL8_istrueforallchildren.png" position="flex-start" size="40" initialPath="../../Resources/Images/help-images/isTrueForAllChildren.png" githubPath="Content/Resources/Images/help-images/isTrueForAllChildren.png" showCaption="false" width="864" height="589" darkWidth="864" darkHeight="589" indent="1"}
