Skip to content
PMMilestone.org
Learning track

How to Use AI to Review a Primavera P6 Schedule: What It Catches, What It Misses, and a Planner's Workflow That Holds Up

Dr. Hassan Eliwa, PhDWritten by Dr. Hassan Eliwa, PhD Published Last updated 14 min read
PMMilestone Academy
Planner's desk in a construction site office with a laptop showing a Primavera P6-style Gantt chart under a teal AI scan overlay, checkmarks on several activity bars and an amber warning triangle on one link, a printed schedule with a red pen and tower cranes through the window

Somewhere in the last eighteen months, the question I get asked most by planners changed. It used to be "how do I get through a 4,000-activity contractor update before Friday?" Now it is "can I just drop the XER into an AI tool and let it tell me what is wrong?"

The honest answer is: partly, and the part it cannot do is the part that matters most.

AI tools have become genuinely useful for schedule review. They read an XER in seconds, count open ends faster than any filter you will build, and draft a readable comment log while you are still waiting for P6 to open the project. A crop of dedicated "AI schedule intelligence" products has appeared on top of the general chat assistants, and every vendor demo looks impressive.

But I have also watched AI produce a confident, well-formatted review that missed the single issue that would have cost the employer an extension of time claim. Not because the tool was bad, but because the reviewer asked it the wrong question and accepted the answer without checking.

This guide is written for planners, schedulers, project controls engineers and client-side reviewers who want to use AI on Primavera P6 schedules properly. It covers what AI reliably catches, what it routinely misses, a six-step workflow that keeps you in control, the prompts that actually work, and the mistakes I see most often.

By Dr. Hassan Eliwa, PhD, Founder of PMMilestone.org. Research and publications.

Planner's desk in a construction site office with a laptop showing a Primavera P6-style Gantt chart under a teal AI scan overlay, checkmarks on several activity bars and an amber warning triangle on one link, a printed schedule with a red pen and tower cranes through the window
AI can scan the file in seconds. Judging whether the logic is true is still the planner's job.

1. What an AI tool is actually reading when you give it an XER

Before trusting any output, understand the input. An XER file is not a picture of your Gantt chart. It is a tab-delimited text export of the P6 database: a series of tables, each introduced by a %T line, with field names on a %F line and data on %R rows.

The tables that matter for a schedule review are:

XER tables that matter for a schedule review
XER tableWhat it holdsWhy the AI needs it
PROJECTProject settings, including the data dateEvery float and progress check depends on the data date
TASKActivities: IDs, names, durations, dates, float, constraints, statusThe core of almost every check
TASKPREDRelationships: type, lag, predecessor and successorLogic, open ends, leads and lags
CALENDARWorking calendars, stored in an encoded stringConverting hours to working days, lag interpretation
PROJWBSThe WBS hierarchyGrouping findings so humans can act on them
TASKRSRCResource and cost assignmentsResource loading and cost checks

Here is the first practical lesson: most AI errors in schedule review are input errors, not reasoning errors. If the tool silently drops the CALENDAR table, every duration and float value it reports in "days" is a guess, because P6 stores many of those values in hours. If it ignores the data date in PROJECT, it cannot tell you which activities should have started by now.

2. What AI catches reliably

In my experience, AI is strongest at work that is large, rule-based and boring: exactly the work that causes fatigue errors in manual reviews.

Structural logic checks. Open ends (activities without a predecessor or successor), dangling starts and finishes, redundant relationships, and relationship-type ratios. These are pure counting exercises across TASK and TASKPRED, and a well-instructed tool does them accurately.

DCMA-style metrics. Leads (negative lags), positive lags, hard constraints, high float, high duration, negative float and invalid dates. If you specify the thresholds explicitly, AI can produce a full DCMA 14-point assessment in minutes. The keyword is specify: never let the tool pick its own thresholds.

Update-to-update comparison. Give it two XERs and it will list added and deleted activities, changed durations, changed logic, moved constraints and shifted forecast dates. This is where I think AI earns its keep most clearly. Manually comparing two 3,000-activity updates is slow, and the changes that matter are usually hidden among hundreds that do not.

Naming and coding hygiene. Duplicate activity names, missing activity codes, inconsistent WBS placement, milestones carrying durations. Tedious to find, easy for a machine.

Drafting the comment log. Once you have verified the findings, AI writes a clean, consistently worded review sheet far faster than you will type one.

3. What AI routinely misses (and why it matters more)

Whether the logic is true. An AI can tell you that every activity has a predecessor. It cannot tell you that "Pour level 3 slab" should not be driven by "Install façade level 1" when the real constraint is the level 2 back-prop strike. Logic that is complete but wrong passes every automated check. This is the single most important limitation, and no amount of prompting fixes it.

Construction method and sequence. Whether a crane can be in two places at once, whether the earthworks sequence matches the haul road, whether wet-season productivity has been allowed for. These come from site knowledge, not from the file.

Contract-specific requirements. Your contract may require a particular float calculation setting, a maximum activity duration, cost loading, named milestones or a specific critical path definition. Unless you give the tool those requirements, it reviews against generic best practice, which is not what you will be judged on.

Calendar nuances. Lags measured on a different calendar from the activity, seven-day curing on a five-day calendar, regional public holidays. Calendar data in an XER is encoded, and I have seen tools misread it more often than any other table.

Intent and gaming. Preferential logic used to consume float, constraints hiding a slipping path, a suspiciously convenient re-sequence just before a delay notice. A human reviewer who has read the correspondence will see this. A tool reviewing the file in isolation will not.

4. The six-step workflow I recommend

This is the sequence I would teach any planner who wants to use AI on a P6 review without losing control of the outcome.

  1. Step 1 — Clear confidentiality before you upload anything

    An XER can contain cost data, resource rates, subcontractor names and commercially sensitive sequencing. Check your contract's confidentiality clause and your organisation's AI policy first. If in doubt, use an approved enterprise tool, a locally run analysis, or a sanitised export with cost and resource tables removed.

  2. Step 2 — Validate the import

    Ask the tool to confirm the tables found, row counts, project name, data date, number of activities, number of relationships and calendars in use. Compare these with P6. A mismatch in any of them ends the exercise.

  3. Step 3 — Run the rule-based checks with your thresholds

    Give explicit rules: "Flag activities with total float greater than 44 working days," "Flag lags greater than 10 working days," "Treat hard constraints as Mandatory Start, Mandatory Finish, Start On and Finish On." Ask for every finding as a table with activity ID, name, WBS and the value that triggered it, so you can trace each one back.

  4. Step 4 — Verify a sample in P6

    Pick five findings at random from each category and check them in P6 yourself. If the sample is clean, you can trust the rest of that category with reasonable confidence. If even one is wrong, find out why before going further. It is usually a calendar or units problem.

  5. Step 5 — Do the human review

    Now spend your own time where it counts: the critical and near-critical paths, the logic on interfaces and employer-responsibility activities, method and sequence, and contract compliance. The AI has bought you this time. Use it here, not on counting open ends.

  6. Step 6 — Draft, then own, the comments

    Let the tool draft the comment log from the verified findings. Then edit every comment yourself. You sign the review; the tool does not. A comment you cannot defend in a meeting should not be in the log.

5. Prompts that produce useful output

Vague prompts produce vague reviews. Here are prompt patterns that consistently give me traceable results.

Import check
"List every table in this XER file with its row count. State the project name and the data date from the PROJECT table. Do not analyse anything yet."
Logic check
"Using TASK and TASKPRED, list all incomplete activities with no predecessor or no successor, excluding the project start and finish milestones. Return activity ID, name, WBS and which end is open."
Update comparison
"Compare update 11 and update 12. List every relationship added or deleted where either activity has a name containing 'by others', 'client', 'employer', 'approval' or 'access'. For each, show both activities and the relationship type and lag."
Critical path explanation
"Trace the longest path from the data date to the 'Practical Completion' milestone. List each activity in order with its total float and the relationship that drives it. Flag any point where the path is driven by a constraint rather than logic."

6. AI review vs manual review: a realistic comparison

AI-assisted review compared with an experienced planner, rated out of five
Review taskAI-assistedExperienced plannerBest approach
Counting open ends, lags, constraints★★★★★Fast, complete★★★★★Slow, fatigue errorsAI, with sampling
Update-to-update change list★★★★★★★★★★AI, then human triage
Critical path tracing★★★★★Good if calendars read correctly★★★★★Both, compare results
Logic validity and construction method★★★★★★★★★★Human only
Contract compliance★★★★★Only if given the requirements★★★★★Human, AI as checklist aid
Spotting float manipulation or claim positioning★★★★★★★★★★Human, informed by AI change lists
Writing the review comments★★★★★★★★★★AI drafts, human edits

The pattern is consistent: AI dominates where the work is volume and rules; humans dominate where the work is meaning and judgement. The most effective reviewers I know are not choosing between the two. They are dividing the work deliberately.

7. Common mistakes

Trusting the summary paragraph. AI tools open with a confident overall verdict such as "The schedule is in good health with minor issues." Ignore it. Read the findings tables. A summary without traceable activity IDs is an opinion, not a review.

Letting the tool choose thresholds. One tool's "high float" is 44 days, another's is 20% of remaining duration. If your contract or employer standard defines it, give the definition.

Ignoring units. P6 stores durations and float in hours in the XER. A tool that divides by 8 on a project with 10-hour days will overstate every duration and float value by 25%. Always confirm hours per day by calendar.

Uploading client data to public tools. This is a professional and contractual risk, not a technical one. One careless upload can breach a confidentiality obligation that nobody on the project will thank you for.

Skipping the P6 sample check. The five-minute sample in step 4 is the cheapest insurance in the whole process.

Treating a clean structural score as a good schedule. A schedule can pass all fourteen DCMA checks and still be undeliverable. Health metrics measure construction of the model, not truth of the plan.

Pasting AI text straight into formal correspondence. Review comments become part of the project record and may be read in a dispute years later. Every sentence must be one you would defend.

8. Practical lessons learned

  1. The best use of AI is comparison, not judgement. Change detection between updates gives the highest return for the least risk.
  2. Input validation is not optional. Most bad AI reviews trace back to a misread table, a missing calendar or the wrong data date.
  3. Specific prompts beat clever prompts. Name the tables, fields, thresholds and output format.
  4. Keep the human review time you have saved. If AI saves you four hours and you spend none of them on the critical path, you have only made a faster, shallower review.
  5. Document your method. Note in your review which checks were automated, which tool was used and how findings were verified. It strengthens your position if the review is ever challenged.

This guide reflects professional practice and is general guidance only; always apply your contract requirements and your organisation's policies.

Frequently asked questions

Can ChatGPT or Claude read an XER file directly?

Most current general-purpose assistants with file analysis can open an XER because it is a plain text, tab-delimited file. Reading it correctly is another matter. Always ask the tool to confirm the tables, row counts and data date before trusting any analysis, and check that it has interpreted the calendar data and hour-based durations properly.

Is it safe to upload a contractor's schedule to an AI tool?

It depends on your contract, your organisation's policy and the tool's data handling terms. XER files can contain cost, resource and commercially sensitive information. Use an approved enterprise tool, a locally run analysis, or a sanitised file, and when in doubt ask your contract administrator before uploading.

Can AI perform a full DCMA 14-point assessment?

It can calculate most of the metrics accurately if you provide the thresholds and definitions explicitly. The critical path test and CPLI need careful verification, and the results should be sample-checked in P6. A DCMA pass also only shows the schedule is well constructed, not that the plan is realistic.

Will AI replace planners and schedulers?

Not in the review role described here. AI removes much of the counting and comparison work, but judging whether logic reflects real construction, whether a method is buildable and whether a contractor is positioning for a claim still needs an experienced human. For a wider view, see Will AI Replace Project Managers by 2030?

What is the most valuable single use of AI in schedule review?

Update-to-update comparison. Asking AI to list every logic, duration, constraint and date change between two updates, filtered to the activities you care about, finds in minutes what can take a manual reviewer most of a day.

Why does the AI report different float values from P6?

Usually because of units or calendars. P6 stores float in hours in the XER; converting to days needs the correct hours per day for each activity's calendar. Different total float calculation settings in P6 can also produce differences. Check these before assuming either result is wrong.

Do I still need to open the schedule in P6?

Yes. You need P6 to verify a sample of findings, to trace the critical path visually, and to look at the schedule the way the contractor and the employer will. The AI review is a starting point for your review, not the review itself.

Should I tell the contractor I used AI in my review?

It is good practice to record your method, including which checks were automated and how they were verified. What matters to the contractor is that every comment is accurate, traceable to an activity, and defensible.

Keep learning

Where this article connects

Curated cross-links: related Academy articles, the Knowledge Pillars this topic draws on, and the calculators referenced in the FAQs above.

Next steps

Next steps on PMMilestone

Use these pages to deepen the topic, verify terminology, compare real cases and move from theory into applied project controls practice.

Practise immediately

Related calculators

Open the calculators referenced in this article and run them against your own project numbers.

More tracks

Other learning tracks

Knowledge pillars

Knowledge pillars across the Academy

Deep-dive pillar articles covering EVM, delay analysis, scheduling, risk and project controls — refreshed on every visit.

Browse all knowledge pillars
Construction claims management framework infographic with lifecycle, categories, evidence management and governance
Knowledge pillar

Construction Claims Management Framework Explained

A practical claims management framework for construction and infrastructure projects covering entitlement, records, analysis, negotiation and governance.

Read pillar
PMO reporting framework with executive dashboard examples, KPI tables and portfolio reporting
Knowledge pillar

PMO Reporting Framework

A reference guide to executive PMO reporting covering dashboard structure, KPI choice, portfolio views, reporting cadence and common reporting mistakes.

Read pillar
Open glowing editorial book in a dark navy library
Knowledge pillar

Guides and Long-Form Articles

Practitioner-written explainers across EVM, planning, forecasting, risk and PMO design — read as a syllabus or as a refresher.

Read pillar
Open notebook with question marks under soft blue light
Knowledge pillar

Q&A and Exam-Style Questions

Concept questions in the style of PMP / PMI examinations, plus practical scenarios from real construction and PMO environments.

Read pillar
Dark navy floating glass calculator cards with glowing inputs
Knowledge pillar

Interactive Calculators

More than thirty client-side calculators covering EVM, schedule, risk, construction productivity, contingency, PMO maturity and career planning.

Read pillar
Dark navy collage of construction project photos and editorial layouts
Knowledge pillar

Case Studies and Insights

Auto-synced articles from PMMilestone Intelligence Center bring fresh case studies, failure patterns and project-intelligence commentary into the Academy.

Read pillar
Dark navy timeline graphic showing a delayed construction schedule with critical path impact bands
Knowledge pillar

The Complete Construction Delay Analysis Guide

A complete, practitioner-led walkthrough of construction delay analysis: delay categories, methodologies, claims preparation and mitigation strategies for real EPC and building projects.

Read pillar
Dark navy executive project controls dashboard with KPI tiles, S-curve and risk heatmap
Knowledge pillar

Project Controls Dashboard Design Masterclass

How to design project controls dashboards that drive real decisions — KPI selection, EVM visualisation, risk indicators, layout patterns and the most common dashboard mistakes.

Read pillar
Project forecasting cockpit with probabilistic S-curves
Knowledge pillar

The Complete Guide to Project Forecasting

How professional project controls teams forecast cost, schedule, productivity and cash flow — and how to combine them into a single risk-adjusted view a board can act on.

Read pillar
Construction productivity charts overlaid on worksite silhouettes
Knowledge pillar

Construction Productivity Management

How to measure, benchmark and improve construction productivity at crew, discipline and project level — and use it as a leading indicator for schedule and cost.

Read pillar
Executive PMO dashboard with KPI tiles and portfolio heatmap
Knowledge pillar

PMO Reporting and Executive Dashboards

How to design PMO reports and executive dashboards that drive decisions instead of just describing status — KPI hierarchies, narrative structure and the cadence that keeps them honest.

Read pillar
Risk distribution and mega project silhouette
Knowledge pillar

Risk Management for Mega Projects

How risk management actually works on mega projects — beyond the register, into quantitative analysis, reserve sizing, risk-adjusted forecasts and structured recovery.

Read pillar
Enterprise Upgrade

Upgrade to Enterprise-Level Project Intelligence

Discover the Elite Project Controls System — a professional intelligence framework for modern project controls, forecasting, executive reporting, AI PM workflows and risk management.

  • ★Executive-grade KPI frameworks
  • ★AI-powered project workflows
  • ★Forecasting & risk intelligence
  • ★PMO-ready reporting templates

Related: Academy · Tools · Intelligence Center · Site map

Books by the founder

Practical project controls books by Dr. Hassan Eliwa

See all books and formats →