Provides a set of constants that identify the states of a ICmTask object. For a complete description of each state, see Task State Machine.

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

ToggleSyntax

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

ToggleMembers

TypeMember nameDescription
WAITING_ALL
Indicates that the task is blocked by both incomplete predecessors and an unsatisfied precondition.
WAITING_PREDECESSORS
Indicates that the task has satisfied its precondition but is blocked by incomplete predecessors.
COMPLETE
Indicates that the task has been successfully completed.
WAITING_PRECONDITION
Indicates that the task is yet to satisfy its precondition, but is not blocked by any incomplete predecessors. This is the initial state for all newly created ICmTask instances.
FAILED
Indicates that execution of the task failed.
WORKING
Indicates that the task is being actively worked on.
READY
Indicates that the task is no longer blocked either by predecessors that have not completed or by a precondition, and, therefore, it is ready to be worked on.

ToggleSee Also