Help > Tables > W_Token

Table: W_Token

The processing status of a document (one "token" per document). Only used in the XBOUND database (the main database).

Not populated in the statistics database.

Column

Data type

Max. length (bytes)

Allow nulls

Description

ID

bigint

8

False

Unique identifier of the task.

SiteId

int

4

False

Currently not used.

Rev

bigint

8

False

Revision number. For internal use.

DocumentID

bigint

8

False

The ID of the related Document (ID in W_Document).

DocumentSiteId

int

4

False

Currently not used.

ProcessStepID

int

4

False

The ID of the related process step (ID in C_ProcessStep).

Issued

datetime

8

False

The time at which processing is to continue, for example when a delay is configured. (See XBOUND Help topic "Delayed document processing".)

Priority

int

4

False

Priority of the task.

State

int

4

False

The processing status of the task:

0 = Ready to check out.
1 = Checked out.
2 = Waiting for synchronization.
3 = Error: The task could not be routed, because an error occurred while determining which process step to route it to.
4 = Waiting.
5 = Checked in with error.

BatchID

bigint

8

False

The ID of the root document (BatchID in W_Document).

BatchSiteId

int

4

False

Currently not used.

LastRoutedAt

datetime

8

False

When the "token" was created (that is, when the task was assigned to its process step).

DeletedAt

datetime

8

True

The date when the data set was deleted from the XBOUND database (main database).

Available in XBOUND 3.8 and later.

Foreign keys

Name

Columns

FK_W_Token_W_Document

DocumentID -> W_Document.ID

DocumentSiteId -> W_Document.SiteId

Uses

The available tables

The available views