Skip to content

reset_domain_query

Resets the enumeration state of a domain query so that its next invocation starts from the beginning.

<reset_domain_query type="wh_question" predicate="season_to_consider"/>

Attributes and placement

The question identifier uses the same type, predicate, and applicable question children as findout and a domain query. The item can appear in a plan, postplan, or conditional branch.

Behavior and usage

Resets the enumeration state associated with the specified domain-query question. The next invoke_domain_query starts at the first enumerated value again.

<reset_domain_query type="wh_question" predicate="season_to_consider"/>
<invoke_domain_query type="wh_question" predicate="season_to_consider"/>

See Domain queries and Conditions for has_more_items.