Inhaltsverzeichnis

SetDocumentState

Sets the status of the current document to the specified status and changes the message status, if this is possible due to the change of the document status. That is, only if the minimum status of all documents changes.

Syntax:

SetDocumentState(Status)

Possible status values see in the column „Technical value“ in: Message and document states, where the status is numerically higher or equal to the current status of the document, otherwise an error is thrown.

Example:

SetDocumentState("ProcessedUser2"))