ValueQueries (eventTriggerType) Element

Contains a sequence of elements that each contain a name and an XPath query value. The queries are applied to an event returned from the event subscription specified in the Subscription element. The name for the XPath query value can be used as a variable in the action section of a task.

<xs:element name="ValueQueries"

The ValueQueries element is defined by the eventTriggerType complex type.

Parent element

ElementDerived fromDescription
EventTrigger (triggerGroup) eventTriggerType

Specifies a trigger that starts a task when a system event occurs.


For C++ development, see ValueQueries Property of IEventTrigger.

For script development, see EventTrigger.ValueQueries.


For a complete example of the XML for a task that specifies a an event trigger using this element, see Event Trigger Example (XML).


Minimum supported client

Windows Vista [desktop apps only]

Minimum supported server

Windows Server 2008 [desktop apps only]