Gantt LWC - Defining Task Duration

    This article will help you understand how best to use Duration, Start Date and Finish Date columns.  


    What is Task Duration?

    Duration refers to the length of time a project task is expected to take.

    Inspire Planner supports the following Duration units:

    • hours (h)
    • days (d) - this is the default duration unit
    • weeks (w)
    • months (mo)
    • years (y) - this duration unit is only supported in the Gantt Lightning Web Component (LWC)

    To define the Duration unit, simply append the letter that represents your desired duration unit. For example, '1w' to represent 1 week or '2h' to represent 2 hours. The default Duration unit is in days so if you simply enter a number without a unit, Inspire Planner will interpret the duration in days.


    Define Task Duration

    You can define the Duration of a task by simply entering a value under the Duration column along with your desired duration unit. Double click on the blank cell beside the task under the Duration column and enter the duration. You can use the up and down arrows to increase or decrease duration.

    When you define a task duration, you will notice that the Finish Date automatically adjusts according to the duration from the Start Date.

    Alternatively, if you define a Start Date and Finish Date, the Duration automatically populates based on the number of days between the Start and Finish Dates. 


    To create Milestones, set the task duration to 0 days.


    The Parent Task start date will automatically be set to the earliest start date of its subtasks. Likewise, the Parent Task finish date will automatically be set to the latest finish date of its subtasks. The Parent Task duration is the length of time between the Parent Task start and finish dates. When you adjust the duration, start date, finish dates or predecessor relationships of project tasks, they automatically update the values of the parent task.


    Please note the following: 

    • You need to define the Task Start Date, Finish Date and Duration for child tasks in order for the roll-up on the Parent Task to work properly.
    • The UI only supports up to a maximum of 15 years duration. This means that if you have child tasks that roll up to the parent task and the total duration exceeds 15 years, the Parent Task Duration will cap at 15 years. However, the "Actual Duration" field in the project detail will still display the total duration for the entire project.
    • Milestones account for 1% of the % Complete of a Parent Task. This means that if you have 5 child tasks and 1 is a milestone, when you mark 4 out of the 5 complete but the milestone task is still open, the % Complete at the Parent Task will display at 99%. Even if you have multiple milestones under the same Parent Task, they all only account for 1%.
    • Milestones are not included when % Complete is calculated for the Project since it only includes tasks with a duration.





    Project PlanGetting Started - Gantt LWC

    « Previous ArticleNext Article »