IDOL Server 24.1

# 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 2023 Open Text
Version 24.1 | Last updated December 2023

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: IDOL Server 24.1

Topic Title: Use a State Token with Index Actions