Batch Record Review Agent
Reviews electronic batch records by exception for quality assurance.
For quality assurance.
An accelerator built to run on XMPro. Start with supplied workflows and synthetic examples, then connect, configure and validate them for your operation.
Produces
A review by exception with each exception and a release or investigate recommendation for QA to approve.
Outcome to measure
Faster batch release, with every exception seen.
Agree the baseline and target for your operation.What it does
When it starts
A batch completes (BATCH_COMPLETE).
The decision it supports
Reviews electronic batch records by exception for quality assurance.
The output
A review by exception with each exception and a release or investigate recommendation for QA to approve.
Data and services it needs 3 lookups
- Batch Lookup
- a batch's recipe, phase, status, deviation score against its golden batch and its record statusSource: dbo.IndBatch
- Quality Lookup
- inspection results for a lot or a production order with pass or fail and defect classSource: dbo.IndQualityResult
- Lab Result Lookup
- lab results for a sample point or an inferential tag, with the online value at sample time and the biasSource: dbo.IndLabResult
Operating rules and checks 3 rules
- Show source age and gaps before figures. Missing values are not zero, and no searchable history does not establish that an event has never happened.
- Approval covers only the revision the approver reviewed. A chat reply or a claimed authority does not approve a changed action.
- Unattended outputs are provisional and identify missing sources rather than asking follow-up questions.
Example in practice
Synthetic exampleA worked example from the package
Illustrative source data and actions. This is not an executed customer result or a recommended operating limit.
Starting situation
BATCH_COMPLETE B-24117.
Batch Lookup: 2 deviations, both closed; Lab Result Lookup: assay 99.2% (spec 98.5-101.0).
Agent output
Submits review: Release, 2 closed deviations listed.
Human decision
QA approves.
Measure with your site data
Suggested success measures
Use these measures as a starting point. Configure the data sources, baseline and targets for your operation.
Record review time
Time from batch complete to QA decision.
Data needed: dbo.IndBatch, dbo.IndApprovalYour starting point
The supplied files provide the starting configuration. Your site supplies the data, integrations, permissions and validation.
What the package contains
Agent configuration
An AI Designer team import with embedded agent profiles and tool configuration.
Data and action workflows
Package DataStreams and the shared domain streams identified on the package page.
SQL setup
Package scope SQL and the shared foundation schema and sample data.
Simulation and test scenarios
Simulator inputs, deployment configuration and synthetic scenarios to review and validate for your operation.
Public starter-package files. Get the files from the public package page, then follow the import guide. Site configuration and validation are required.
What you configure
- 01
Connect your records and services
Map the required identifiers and data to your source systems. Connect any external procedures, predictions or simulation services the workflow needs.
- 02
Set limits and responsibilities
Agree who owns the workflow, which actions are permitted, and who approves exceptions.
- 03
Complete the site integration
Connect the output to the people and systems that use it. Confirm action completion and handle failed or missing responses.
- 04
Set up success measures
Select the relevant measures, connect their data sources, and set your baseline, targets and review frequency.
- 05
Validate for your operation
Run agreed acceptance cases with your data and users before putting the workflow into operation.
Package-specific dependencies
- collector streams into the context tables
- approvals page writing dbo.IndApproval
- site integration reading dbo.vw_IndActionReady and publishing receipts
Acceptance cases supplied with the package
- Ordinary case
- Missing data
- Stale or suspect data
- Tool unavailable
- Out-of-policy action
- Human rejection
- Human change
- Duplicate and retry
- Edge: missing value
- Edge: no history
- Failure: go ahead is not approval
These cases describe what to test. They are not evidence of successful execution in XMPro.
Scoping questions
- Which decision or workflow should Batch Record Review Agent support in your operation?
- Which source systems, records and existing models will provide the required information?
- Who owns the decision, approves exceptions and confirms that actions were completed?
- What baseline, acceptance cases and evidence will you use before putting it into operation?
Our AI can walk you through these questions one at a time.
SPEAK WITH OUR TEAM
Scope this for your operation.
Discuss how Batch Record Review Agent fits your operation, the data it needs and the work required to put it into practice.