(Click to open topic with navigation)
By default, triggers look for variables to fulfill dependencies in the object to which they are directly attached. If they are attached to a job object, they will also look in the job group, if defined. However, it is not uncommon for objects to have multiple generations of parent objects. If the desired behavior is to search through all parent objects, do the following task.
To require variables from generations of parent objects
EType=start,AType=exec,Action="/tmp/trigger2.sh",Requires=^Var1
The trigger searches through the parent objects in which it resides for the variable Var1.