====== SetMessageState ====== SetMessageState implements the status of the message directly, without considering the smallest status of the documents. A history entry is created with the change to the status and the transferred text info. If the specified status value corresponds to the status of the message, no change is made and no history entry is created. ==== Syntax: ==== SetMessageState(Status, StateHistoryValue) Possible status values see in the column "Technical value" in: [[en:transformation:mappings:message_doc_state_values|]], where the status is numerically higher or equal to the current status of the document, otherwise an error is thrown. ==== Example: ==== SetMessageState("ProcessedUser1", "Set because of ...")