Proxy Component 25.4
Proxy Component Help

# Use a State Token with Index Actions

You can use the `StateID` and `StateMatchID` parameters to pass a state token in the `DREDELETEDOC`, `DREEXPORTIDX`, `DREEXPORTXML`, `DREEXPORTREMOTE`, and `DRECHANGEMETA` actions.

Index action | State parameters supported
--- | ---
`DREDELETEDOC` | `StateID`
`DREEXPORTIDX` | `StateMatchID`
`DREEXPORTXML` | `StateMatchID`
`DREEXPORTREMOTE` | `StateMatchID`
`DRECHANGEMETA` | `StateID`

Examples:

- Change document database. Use the `StateID` parameter to assign all 100 documents identified by state token `CTBJ1V4QO4I5-100` (as well as the indexed documents with document IDs 1 and 2) to the `archive` database:

      DRECHANGEMETA?Type=database&NewValue=archive&Docs=1+2&StateID=CTBJ1V4QO4I5-100

- Delete documents. Use the `StateID` parameter to delete the first five documents identified by state token `CTBJ1V4QO4I5-100`:

      DREDELETEDOC?StateID=CTBJ1V4QO4I5-100[0-4]

- Export documents. Use the `StateMatchID` parameter to export the second, fourth, and sixth documents identified by state token `CTBJ1V4QO4I5-100`:

      DREEXPORTXML?StateMatchID=CTBJ1V4QO4I5-100[1+3+5]

Copyright 2025 Open Text
Version 25.4 | Last updated October 2025

Send documentation feedback

Close

Send documentation feedback

To send feedback using your default email client, open an email window.

Otherwise, send your feedback and the information below to MFI-swpdl.idoldocsfeedback@opentext.com.

We appreciate your feedback!

Product: Knowledge Discovery Proxy Component 25.4

Topic Title: Use a State Token with Index Actions