Using only children and all

In organization models, both Organization Units and Groups can be linked to other elements of the same type in a hierarchy.

See the TIBCO Business Studio Modeling User’s Guide for more details about this. However RQL expressions do not by default navigate this hierarchy.

For example the expressions:

orgunit(name="AreaNorth")

group(name="HomeInsurance")

would return only resources assigned directly to the named organization unit or group, not to other organization units or groups in a hierarchical relationship below it.

To override this default behavior, you can use one of the following modifiers:

  • only() . For example

    group(name="HomeInsurance").only()

    This returns only resources assigned to the named element. (This is the default behavior both for Organization Units and for groups.)

  • children(). For example

    group(name="HomeInsurance").children()

    This returns resources assigned to the named element and to any first level child elements, but not to elements any further below in a hierarchy.

  • all(). For example

    orgunit(name="AreaNorth").all()

    This returns resources assigned to the named element and to any subordinate elements.