You are here: Understanding the Meridian object model > About the Document object > The Document object methods > ChangeWorkflowState method

ChangeWorkflowState method

Changes the document type workflow state of the current document object.

Syntax

ChangeWorkflowState(NewWorkflowState As AS_WF_STATE, User As String, Comment As String)
Parameters
Name Description

NewWorkflowState

Long integer that represents one or more AS_WF_STATE constants

User

The user name to assign as the new to-do person

Comment

The comment to append to the comment log

Remarks

For events to occur for this method, the SDWFEvents setting in the [ScriptEvents] section on the Application Integration tab of Application Settings in Configurator must be set to Y. The default is N.

Related concepts

About the Document object


www.bluecieloecm.com