Study Lifecycle: From Draft to Final Archive
The Quartyl study state machine end to end: the nine workflow states, which roles drive each transition, the review-phase workbook, and the rejected and failed recovery paths.
A study is a governed object: it is created in one state, moved only by specific roles through specific states, and closed only by archiving. The workflow is the study’s spine – every queue item, every button on a study, and every audit entry follows from it. This page is the complete map: the states, who acts in each, what is recorded at each transition, and the two recovery paths for a study that did not go right.
The states
There are nine states, and those nine names are exactly what the workspace prints on the badges, the tabs and the stepper. Seven form the forward path; Rejected and Failed are the returns.
| State | Who acts | What happens there |
|---|---|---|
| Draft | Analyst (creator) | The study is configured – identity, tested party profile, parameters, data file – and can be edited freely |
| Study Initialized | The system picks it up | The submission landed: the data file is attached and the analysis run starts |
| Processing | The system (the analysis run) | The run executes step by step; no user action advances it, and an in-flight run can be stopped – it lands the study in Failed (see below) |
| In Review | Manager (the responsible role) | The comparables grid and the statistical results are worked: the Excel workbook regenerated, send back with reasons, override dispositions – the whole review phase runs here, and no round of it changes the state |
| Document Generated | No user transition – generating the master report is what sets it | The Word master report (and, where it succeeds, the branded PDF) exists on the record |
| Signed Off | Partner (or Firm Admin) | The firm’s final approval is recorded; the study is ready to archive |
| Archived | Partner | The study is closed out and immutable – the only terminal state |
| Rejected | Analyst (responsible role) | A sent-back study waits with its recorded reasons; re-submitted, it goes straight back to In Review |
| Failed | Analyst (responsible role) | A run that errored waits to be re-run; re-submission sends it back into Processing |
The state the study is in decides everything else: which buttons render, which roles can act, and what the next transition is. The study page answers “where is this study” with its state stepper. Each state also carries a responsible role – the role the task queue groups studies by – and the system legs (Processing) and Archived have none.
The forward path, and what each transition records
Each move is a single audited action, and the review phase is deliberately not a move; what is written to the record at each step:
| Transition | Triggered by | Recorded at the step |
|---|---|---|
| Draft → Study Initialized | The analyst attaches the data file and saves the submission | The study with its parameters and its attached file; the analysis run starts |
| Study Initialized → Processing → In Review | The analysis run – system-only, no user involved | The full analysis output on the study: statistics, the tested party position, the conclusion, the per-comparable record with reasons; the raw dump with its column mapping and detected years; and the review-entry timestamp, which starts the working-data retention clock |
| In Review – the review phase | The reviewer works the grid and asks for a workbook rebuild | No transition: the study stays In Review. The first workbook was already built automatically when the analysis landed there; each further round writes its own audit entry, spends one of the five generations, and its file lands on the study |
| In Review → Document Generated | The master report request, on the partner’s initiative – the only step out of In Review, and no role can take it as a plain transition | The Word master report on the record, and the branded PDF alongside it when that leg succeeds |
| Document Generated (a rebuild) | The same request, made again after a correction | New files and new record pointers on the study; no state move at all, because the study is already where the deliverable puts it |
| Document Generated → Signed Off | The partner or firm admin | The sign-off transition, actor, role, the typed signature name, timestamp and notes |
| Signed Off → Archived | The partner | The lock. From this point the study accepts no edits and no further transitions |
Three properties of the forward path:
- Two forward steps are system-only. Nothing advances a study out of Processing but the analysis run itself, and nothing moves a study out of In Review but generating the master report – there is no approval button a user presses.
- The review phase changes no state. There is no approval transition: the workbook is an artefact of review, so the first build happens when the analysis lands In Review and each rebuild happens when a reviewer asks for one after overriding comparables. A generated report is simply In Review – nothing is claimed for a file that does not exist, and a failed build leaves the study exactly where it was. A second build is refused while one is in progress. What closes the phase is its budget, not a gate: once all five generations are spent, further builds and further overrides are both refused, and the two paths left are rejecting the study or requesting the master report.
- Sign-off waits for the document. The sign-off button renders only at Document Generated, so the seven-chapter report is a step on the path, not a side action.
The working states: rejected and failed
These are not dead ends; they are the workflow’s repair paths.
Rejected – sent back with reasons
The reviewer sends a study back from In Review to Rejected. The justification notes are required: an empty send-back is refused, because a blank reason would land blank in the audit log and in the analyst’s notification. The reasons ride on the transition’s audit entry, and amending a rejection’s reasons is itself logged as its own distinct action.
There is also an email leg: the rejection sends a best-effort mail to the assigned analyst – the creator if nobody is assigned – and is skipped when the rejecter is the recipient. A failed send never fails the transition.
Re-submission goes straight back to In Review – no re-run (Rejected → In Review is the forward step from that state), because the analysis already exists. A rejection the analyst disagrees with is answered by addressing the stated reasons, not by resubmitting the same record.
Failed – re-run the analysis
A run that stops with an error – a file that fails validation at run time, a storage problem, a step that could not recover – lands the study in Failed with the error recorded on the study and on the run, and sends a best-effort email to the assigned analyst (the creator if nobody is assigned) naming the step and the error. Failed → Processing re-runs the analysis from the start; the failed run’s partial output is replaced by the new run’s.
Stopping a run: Cancel Analysis
While a run is in flight the study page offers Cancel Analysis – to whoever dispatched the run (an Analyst or a Manager sees it on their own run), and always to the roles that may delete a study (Partner and Firm Admin), since deleting a running study stops the run first. It stops this run and nothing else: the run is asked to stop at its next checkpoint, so the step in progress finishes, nothing further is written, and no result lands. The run ends Cancelled, the study lands in Failed with the cancellation as its recorded reason, and the AI screening already paid for is kept, so re-running the study continues from what was screened instead of buying those calls twice.
The stop is gradual rather than instant, which is what keeps the rest of the firm’s work untouched. The button reads Stopping… until the run reports Cancelled; expect a short wait while the step in progress finishes, since an AI call under way still runs to its own limit. A run that has not started yet is cancelled immediately, and spends no analysis unit; a run that had started keeps the unit it already spent (see Billing and Usage).
The other move out of Processing that a user can make is send back to Draft: it returns the study to Draft and requires justification notes. No other transition is offered from Processing – studies there move on their own.
Who can act, by role
What you may do is worked out from your role and the study’s state, and the action buttons on the study follow that. The lists below are the same rules in words.
| Role | Acts |
|---|---|
| Analyst | Draft and Study Initialized (submit), stop an in-flight run, send Processing back to Draft, re-submit from Rejected, re-run from Failed |
| Manager | Owns In Review: regenerate the workbook, send back, enter the review workspace, override comparables; may also advance a Draft. Not the re-submit from Rejected or Failed |
| Partner | Regenerate the workbook or send back at In Review; generate the final document; sign off at Document Generated; archive at Signed Off. Not the comparable-override right – the review workspace is manager/admin – and not the re-submit either |
| Firm Admin | Everything the Manager and the Partner do except the archive close-out, plus the re-submit from Rejected and Failed and the run stop |
Stopping a run sits with the roles that may act out of Processing – Analyst and Firm Admin. Manager and Partner review results; they do not stop runs.
Re-submitting a study out of a repair state is the originator’s job: only the Analyst and the Firm Admin may move a study from Rejected back to In Review, or from Failed back into Processing. Archival is the narrowest gate in the workflow: only a Partner may move a study to Archived. Any other move the workflow does not allow, or that your role does not permit, is refused outright and nothing changes on the study.
Audit logging: every transition is a record
Every state change writes an audit log entry as part of the same action:
- The move itself – the from-state, the to-state, the actor with name and role, the timestamp, and the justification notes where there are any.
- The workbook round – a build requested during review is logged as a report request, with the generation number against the ceiling, and not as a transition at all: the study never left In Review. A request that never became a build leaves nothing behind.
- The surrounding record – creation, every field edit (previous and new value), every assignment change, and every comparable override all land in the same study-scoped log.
The log is append-only and is the study’s chronology: the Audit Trails page aggregates it across the firm, and the study page renders its own slice. Transitions also appear on the activity feed, which is the same history in time order.
Re-runs, retries and progress
The analysis run happens in the background, and the re-run paths above lean on that:
- A late or duplicate run cannot double-move a study. A run only advances a study from the states a run legitimately starts in, so one that arrives after the study has moved on changes nothing.
- Transient failures are retried. A run that hits a temporary upstream fault tries again before it is marked Failed; a data-validation problem fails immediately with the specific reason named.
- There is a queue limit. Only a few of a firm’s runs can be in flight at a time, and a submission over the cap is refused with a message to try again – the study stays where it was and nothing is queued silently. The workbook queue is separate and smaller.
- Progress shows on the study. The stepper renders the run’s current step – Queued, Preparing Data, Quantitative Analysis, Basic Enrichment, Qualitative Screening, AI Screening, Final Analysis – and refreshes as it moves; a brief read error surfaces once and does not lose progress. The optional Advanced AI Screening step is labelled (Not in your plan) where the firm’s plan does not include it, and does not appear at all where the entry point is hidden.
Where the state shows up
- The study page – the state stepper and the action footer, which render only the transitions the current state and the viewer’s role allow.
- The study list – tabbed by state, which is how a practice sees its workload by stage.
- The queue – My Tasks and Approvals is the per-role view of the same states.
- The activity feed – the firm-wide record of the same transitions.
The review step, in detail, is in Manager Review; the document, sign-off and archive are in Partner Sign-Off and Final Archiving.
FAQ
Can a study skip In Review? No. The analysis run is the only thing that moves a study into review, and the forward path is the only path – Draft, Study Initialized, Processing, In Review, Document Generated, Signed Off, Archived, with Rejected and Failed as the working returns.
Does approving put the study in a new state? No, and there is no approval transition to press. The reviewer’s work – overriding dispositions and regenerating the workbook – all happens with the study still at In Review, and the finished workbook lands on the record when the build succeeds. The state changes only when the master report is generated, which is the partner’s own action; if a workbook build fails, the study is still In Review and the reviewer is told on the study and by email.
What happens to a study’s data if it fails mid-run? The partial run’s intermediate output is replaced by the re-run’s when the study is re-submitted. The study itself, its configuration and its file are untouched; the failed run’s error is the recorded reason.
Is there any state a study can get stuck in? Every working state has an exit owned by someone – regenerate the workbook or send back at In Review, re-submit from Rejected, re-run from Failed, sign off at Document Generated. The state with no exit is Archived; that is the point of it.
See it working in your workspace
Sign in to run the steps above on a real study – or book a demo and we will walk the workflow end to end.
Related docs
Manager Review: Approving, Sending Back and Overriding
The In Review state in a Quartyl study: what the reviewer sees, the workbook rounds that make up the review, sending back with recorded reasons, and overriding verdicts.
Read docPartner Sign-Off and Final Archiving
The back half of the Quartyl workflow: the on-demand Word and PDF master report that produces Document Generated, the partner sign-off, and what the archive locks.
Read doc