Specifies status values for a task.
Namespace: MindFusion.Scheduling
Assembly: Enum.js
SyntaxJavaScript
Copy Code
|
|---|
// enum |
Members| Member name | Description | |
|---|---|---|
![]() |
Completed |
Indicates a completed task. |
![]() |
Deferred |
Indicates a deferred task. |
![]() |
InProgress |
Indicates a task in progress. |
![]() |
NotStarted |
Indicates that the task has not started yet. |
![]() |
WaitingOther |
Indicates a task that depends on another task. |
RemarksValues are assigned to the Task.status property.
ExampleThe following code creates a new Task in 10 days with high priority, estimated duration of 5 hours (300 minutes) and adds it to the tasks list of a schedule. The task is in progress:
JavaScript
Copy Code
|
|---|
var p = MindFusion.Scheduling; // create a task |
See Also