The Critical Path in Salesforce: What It Is and How to Use It
The chain of tasks that sets your finish date, the slack every other task has, and how to see both live on a Salesforce Gantt chart, with no code.
"What is the critical path?" "Which tasks can slip without moving the launch?" "How do I see the critical path in Salesforce?" Every project has a handful of tasks that decide when it ends. Lose a day on one of them and the finish date moves. Lose a day anywhere else and, up to a point, nothing changes.
MultiDatePick puts a Gantt chart on any Salesforce object and works out that chain for you. Press Critical path and the tasks with no room to slip stand out; a Slack column says how many workdays every other task can slip. Drag a task and both update on the spot. No Apex, no add-on project app.
What the critical path is
The critical path is the longest chain of linked tasks from a project’s start to its finish. Every task on it has zero slack: it has to start and end on time, because the next task is waiting for it and nothing in the chain has room to spare. Delay any one of them by a day and the finish date moves by a day.
A plain example: a spring product launch. The team runs customer interviews for 5 workdays, then the beta build takes 8, then it is launch day. Sales training (3 workdays) also has to finish before launch, and the press kit (3 workdays) waits on a pricing review.
| Task | Workdays | Waits on | Slack |
|---|---|---|---|
| Customer interviews | 5 | Nothing | 0, critical |
| Beta build | 8 | Customer interviews | 0, critical |
| Sales training | 3 | Pricing review, 2 workdays after it | 0, critical |
| Pricing review | 6 | Nothing | 3 workdays |
| Press kit | 3 | Pricing review | 3 workdays |
| Launch day | Milestone | Beta build, Sales training, Press kit | 0, critical |
Interviews, then the beta build, then launch day is the critical path. Sales training is planned to end right at launch, so it has no room either. If the beta build runs two days over, launch day moves two days. If the press kit runs two days over, launch day does not move: the press kit had 3 workdays to spare, and now it has 1.
Why it matters
On a plan with forty tasks, the critical path is usually a few of them. Knowing which few changes how a project manager spends the week:
Know which tasks to protect
Put your best people, and your attention, on the tasks that set the finish date. A slip there is a slip in the launch.
See where you can safely slip
A task with 3 workdays of slack can wait for a busy specialist, or give up a day to an urgent request, and the date holds.
Spot real risk early
A late task on the critical path is a late project, today. A late task with slack is a note for the stand-up, not an alarm.
Better trade-offs when something runs late
Add people, cut scope or overlap work only where it moves the finish. Speeding up a task with slack buys nothing.
Slack explained: “Can slip 3 workdays”
Slack, also called float or total float, is how many working days a task can slip before it moves the finish date. It is the gap between the earliest a task can start and the latest it can start without pushing anything on the critical path.
- Slack above 0: room to spare. The press kit ends 3 workdays before launch day, so it can slip 3 workdays.
- Slack of 0: on the critical path. Any delay moves the finish.
- Behind the plan: slack counts back from the finish as the work stands now, so it never drops below 0. A chain that now ends two workdays after the plan shows it in its project’s health: 2 days behind plan.
Slack is counted in workdays, so a weekend in the middle of a task is not “spare time”. In MultiDatePick, hover any linked task and its line says exactly that:
The critical path in Salesforce, with MultiDatePick
Salesforce has no critical path of its own for project tasks. MultiDatePick’s Gantt chart for Salesforce reads your own task records, on any standard or custom object, and works it out from their dates and links:
- Link the tasks. Point the Gantt at a Waits On lookup (one link per task), or at a link object for several links each, with link types (after it ends, start together, finish together) and lag in workdays.
- Press Critical path. The toolbar button outlines every zero-slack task and the links between them, project by project: each project has its own critical path to its own finish.
- Add the Slack column. Put
{Slack}in the Gantt columns and every task shows its slack in workdays beside its name, sortable like any column. - Hover a bar. One line beside the bar gives its name, dates and slack: Can slip 3 workdays or No slack: on the critical path. A task held later than its links need also says when it could start, next to Pull in. A click opens the full card.
- Drag a task. With Push on, the unfinished tasks waiting on it move with it, on working days, and the chain and every slack figure update at once. One Undo puts it all back.
Skip weekends is on by default, so the weekend never counts as slack, lag or task length: Saturday and Sunday, or the days your Working days setting leaves out, such as Friday and Saturday for a Sunday to Thursday team. Office closures from Blocked Dates are left out too. A milestone that waits on a task sits on that task’s last day, so launch day lands right where the beta build ends, not a day later.
Tips for a critical path you can trust
- Keep links accurate. The critical path is only as good as the links. A task that really waits on another but is not linked looks like it has slack it does not have. When plans change, change the link too.
- Put milestones on the last task’s day. A milestone a few days after the work it waits on adds slack to the whole chain, and the real critical path stops lighting up. Link the milestone and let it sit on that task’s end.
- Check it weekly. The path moves as work finishes early or late. A quick look at the Slack column each week shows a task drifting toward 0 before it becomes the reason for a late launch.
- Use a baseline to see slip. Map two planned date fields and press Set baseline to save today’s dates as the plan. Show plan draws a plan bar under every task with +2 days on the ones that slipped, and a project that runs past its planned finish shows how far in its health: 2 days behind plan. Keep several named baselines and compare with any of them: see Gantt chart baselines.
The settings that shape it
Each one is a field in the Setup Wizard’s Gantt box and a property on the component:
| Setting | What it does for the critical path | API name |
|---|---|---|
| Gantt Waits On Field | A lookup to the task that must end first: one link per task. | ganttDependsOnField |
| Task link object | Several links per task, each with a type (after, start together, finish together) and lag in workdays. | Gantt_Link_Object__c |
| Gantt Columns | Add {Slack} for a Slack column beside each task. | ganttColumns |
| Gantt Skip Weekends | On by default: slack, lag and pushes count workdays only. Working days in the Setup Wizard sets which days those are. | ganttSkipWeekends |
| Gantt Dependency Mode | push (default): a moved task pushes the tasks waiting on it. | ganttDependencyMode |
| Gantt Milestone Field | A checkbox that draws a milestone dot on its predecessor’s last day. | ganttMilestoneField |
| Gantt Planned Start and End | The baseline: plan bars, slipped days, and how far a project runs behind its planned finish. | ganttBaselineStartField, ganttBaselineEndField |
Questions people ask
What is the critical path in project management?
The critical path is the longest chain of linked tasks from a project's start to its finish. Every task on it has zero slack, so a delay to any one of them moves the finish date by the same amount. Tasks off the critical path have room to slip without changing the finish.
What is slack, or float, in a Gantt chart?
Slack, also called float or total float, is how many working days a task can slip before it moves the finish date: the latest it can start minus the earliest it can start. A slack of 0 puts a task on the critical path. MultiDatePick counts slack back from each project's finish as the work stands now, so it never drops below 0; a project running past its plan shows that in its health instead, for example 3 days behind plan.
Does Salesforce have a critical path?
Not for project tasks in Sales Cloud or Service Cloud. MultiDatePick adds a Gantt view to any standard or custom Salesforce object, with a Critical path button that outlines the zero-slack tasks, a Slack column and a hover line on each task that says how many workdays it can slip.
How do I show the critical path on a Salesforce Gantt chart?
In MultiDatePick, link the tasks with a Waits On lookup or a task link object, then press Critical path in the Gantt toolbar. Add {Slack} to the Gantt columns for each task's slack in workdays, and hover any bar for its slack in one line. It is set up in the Setup Wizard with no code.
Does the critical path update when a task moves?
Yes. Drag a task with Push on and the tasks waiting on it move with it on working days; the outlined chain and every slack figure update at once. Move a critical task later and the project end moves with it; the chain still reads No slack: on the critical path, and the project's health says how many days it is behind plan. One Undo puts the tasks and the critical path back.
Are weekends counted as slack?
No. Skip weekends is on by default, so the weekend never counts toward slack, lag or a task's length (Saturday and Sunday, or whichever days the Working days setting leaves out), and office closures from Blocked Dates are left out too. Turn Skip weekends off for teams that work every day.
See what sets your finish date.
Open the Projects page on the live demo, open a project and press Critical path.
- $25/user/month, every feature
- 30-day free trial, no card
- No Apex
- Set up with clicks
Want to hear when new features ship? Get feature updates by email. Five a year, nothing else.