Specifies the priority of a task.
Namespace: MindFusion.Scheduling
File: Enum.js
JavaScript Copy Code |
---|
// enum |
Member name | Description | |
---|---|---|
High |
Indicates high task priority. |
|
Low |
Indicates low task priority. |
|
Normal |
Indicates normal task priority. |
Values are assigned to the Task.proprity or Item.priority properties.
The 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 |