Set StoreState to True to create a state token that lists the documents returned from the query. The ID of the token returns with the results. You can use the token in place of individual document IDs in subsequent actions.

The state token is an array of document IDs, listed in the same order as in the result set. It has a random alphanumeric name (for example, DXPV8M92YJJ5-6) with a suffix that indicates the total number of documents specified in the token.

To use document references rather than document IDs in the state token, you can set StoredStateField to the name of the field that contains the references.

If you are using a Distributed Action Handler (DAH), you can set StoredStateTokenLifetime to the time for which you want to keep the stored state token.

Actions: Query
Type: Boolean
Default: False
Example: StoreState=True
See Also: StateDontMatchID