A data-entry error might automatically generate a query if it is caught by the built-in edit checks on a data-entry item. When an automated query is generated in the Opened state:
The background color of the item changes to pink.
The query text is red and begins with the word Open.