Skip to main content

Reset Query

The Reset Query action resets a query's data and state back to its initial values when an event occurs.

Configuration

ParameterDescriptionDefault
QueryThe query to reset
DebounceTime in milliseconds to wait before executing the actionEmpty (no delay)
ToolJet - Action reference -  Reset Query

Triggering via RunJS

queries.<queryName>.reset();

or

await actions.resetQuery('<queryName>');
info

For a full quick-reference of all actions' RunJS syntax, see Run Actions from RunJS.