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)
Syntax
| 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); |
Members
| Type | Member name | Description |
|---|---|---|
| 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.
| |
| WORKING |
Indicates that the task is being actively worked on.
| |
| COMPLETE |
Indicates that the task has been successfully completed.
| |
| FAILED |
Indicates that execution of the task failed.
| |
| WAITING_ALL |
Indicates that the task is blocked by both incomplete predecessors and an unsatisfied precondition.
| |
| 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.
| |
| WAITING_PREDECESSORS |
Indicates that the task has satisfied its precondition but is blocked by incomplete predecessors.
|