# StoreState

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 Suggest SuggestOnText
Type: | Boolean
Default: | False
Example: | `StoreState=True`
See Also: | StateDontMatchID StateMatchID StoredStateField

© Copyright 2020 Micro Focus or one of its affiliates | Send documentation feedback Close Send documentation feedback To open the configured email client on this computer, open an email window. Otherwise, copy the information below to a mail client, and then send this email to swpdl.idoldocsfeedback@microfocus.com. We appreciate your feedback! Product: Topic Title: Help Topic: Feedback:

_FT_HTML5_bannerTitle.htm