This platform is currently in BETA.

This platform and the Triggers available are still in BETA. This means they may be subject to change. If that happens, please update usage of the Triggers in your Project accordingly.

Documentation of the library and the available Triggers is ongoing, and may be incomplete.

Trigger: OverlayActiveByParent

Back to overview - Installation and usage

The following information regarding this Trigger is available.

Summary

Trigger nameOverlayActiveByParent
SummaryChecks Grid Overlays which are the children of parent Overlays, and ensures that the children of active Overlays are active and the children of inacti...
Trigger runsOnly while editing, not during testruns

Settings

Supported typesEVENT
Recommended timingBEFORE
Recommended methodGET
Recommended timeout
URLhttps://triggers.utils.tests.tygron.com/task/?trigger=OverlayActiveByParent

Assets

    Description

    Checks Grid Overlays which are the children of parent Overlays, and ensures that the children of active Overlays are active and the children of inactive parents are inactive.

    Overlays which are not children of other Overlays are not affected. Overlays which are formal RESULT_CHILD Overlays of complex calculation models are not affected. Overlays which are not Grid Overlays or are not the child Overlays of Grid Overlays are not affected.

    Results

    Child overlays will be set to active or inactive based on the state of the parents.

    Parameters

    overlays
    An id or a list of ids of Overlays. Overlays will only be set to active or inactive if either their id or the id of their parent are provided. When this parameter is absent, all overlays are checked.

    Examples and Usage

    &overlays=5
    Will only change the state of the overlay with id 5, or of the children of the overlay with id 5.
    &overlays=[4,5,6]
    Will only change the state of overlays which are either themselves the overlays with id 4, 5, or 6, or of the overlays which are children of the overlays with ids 4, 5, or 6