Provides a set of constants that specify how to change a document’s current lifecycle state or its exception-state status, or a task's current state or exception-state status. These constants are used by the flags parameter of a document or a task's ChangeState method.

Namespace:  FileNet.Api.Constants
Assembly:  FileNet.Api (in FileNet.Api.dll)

ToggleSyntax

Visual Basic (Declaration)
Public Enumeration LifecycleChangeFlags
C#
public enum LifecycleChangeFlags
Visual C++
public enum class LifecycleChangeFlags
JavaScript
FileNet.Api.Constants.LifecycleChangeFlags = function();
FileNet.Api.Constants.LifecycleChangeFlags.createEnum('FileNet.Api.Constants.LifecycleChangeFlags', false);

ToggleMembers

TypeMember nameDescription
SET_EXCEPTION
Place the document into the exception state and set its IsInExceptionState property to true.

Place the task into the exception state

PROMOTE
Promote the document’s current lifecycle state to the next state in its document lifecycle policy and set the document's CurrentState property to the name of the next state.

Promote the task's current state to the next state.

CLEAR_EXCEPTION
Remove the document or task from the exception state, and set the document's IsInExceptionState property to false.
DEMOTE
Demote the document’s current lifecycle state to the previous state in its document lifecycle policy and set the document's CurrentState property to the name of the previous state, unless the CanBeDemoted property of the document’s current lifecycle state (DocumentState object) is set to false.

Demote the task's current state to the previous state.

RESET
Reset the document’s current lifecycle state to the initial state in its document lifecycle policy and set the document's CurrentState property to the name of the initial state.

This flag does not apply to ICmTask objects.

ToggleSee Also