BlueCielo TeamWork 2012 VBScript API Reference | BlueCielo ECM Solutions

You are here: Understanding TeamWork event procedures > About the document type workflow events > DocWorkflowEvent_*ChangeWFState events

DocWorkflowEvent_*ChangeWFState events

Occur when a document type workflow is routed to a different state.

Syntax
DocWorkflowEvent_*ChangeWFState(Batch, TargetState, Person, Comment)
Parameters
Name Description

Batch

An object that represents the batch of documents the user has selected.

SourceState

A long integer that represents one or more AS_WF_STATE constants. Passed only to the Before and After events.

TargetState

A long integer that represents one or more AS_WF_STATE constants.

Person

An object that represents the user to whom the documents are being assigned.

Comment

A string containing the comment entered by the user.

Related concepts

About the document type workflow events


Copyright © 2000-2012 BlueCielo ECM Solutions

www.bluecieloecm.com