CirculeID

concept

Designing Your EPCIS Event Model

EPCIS gives you a grammar, not a data model. How to choose which events to capture, at what identifier granularity, without drowning in operational noise.

CirculeID Research6 min read1,240 words

EPCIS 2.0 defines how to express an event, not which events to record. The design work is choosing the business steps worth capturing, deciding the granularity of the identifiers involved, and using Core Business Vocabulary terms consistently so events remain interpretable across organisations.

What this gives you

How to design an event model that answers the questions auditors actually ask, which events to capture at which node, and the granularity that is expensive to change later.

Key takeaways

  • EPCIS is a grammar. Deciding what to say in it is your design work, not the standard’s.
  • Capture the steps where custody, transformation or state changes, not every scan.
  • Granularity is the decision that is expensive to reverse later.
  • Using CBV terms rather than local vocabulary is what makes events readable by partners.

Teams adopting EPCIS frequently expect it to tell them what to record. It does not. It tells them how to express what they have decided to record, which leaves the harder half of the problem with them.

What the standard actually gives you

An EPCIS event answers four questions about something that happened, and the discipline of the standard is that every event answers all four.

The four dimensions every EPCIS event carries
DimensionQuestionTypical content
WhatWhich objects were involved?EPCs, GTINs, batch or serial identifiers
WhenAt what time?Event time and recording time, with timezone
WhereAt which location?Read point and business location
WhyIn what business context?Business step and disposition from the CBV
The four dimensions every EPCIS event carries

The fourth is the one that carries most of the meaning and the one most often filled in carelessly. A business step of shipping and a disposition of in transit say something specific; a local code meaning "left the plant" says something only your organisation can interpret.

Choosing which events to capture

The instinct to capture every scan produces a dataset that is expensive to store and difficult to query for anything useful. The better rule is to capture events where something changes that a downstream party would need to know.

  • Custody changes — the object moved between organisations, which is what most traceability questions turn on.
  • Transformations — inputs became outputs, and identity changed with them.
  • State changes — the object was tested, repaired, graded or decommissioned.
  • Aggregations — items were packed into a case, or a case onto a pallet, and later separated.

Intermediate movements within a single facility rarely earn their place. They are operationally useful and belong in a warehouse system, not in a record intended to be shared across a supply chain.

Granularity is the decision to get right

Whether events reference a product class, a batch or an individual serial number determines what questions the data can ever answer, and it is difficult to change retrospectively.

What each level of identifier granularity makes possible
LevelAnswersCannot answer
Class (GTIN)What this product isWhere this specific unit has been
Batch or lotWhich production run, for recallsWhich unit within the run
Serial (SGTIN)The full history of one unitNothing — but costs the most to operate
What each level of identifier granularity makes possible

That said, serialisation carries real operational cost: marking, capturing, storing and reconciling identifiers at every step. The honest answer is that granularity should follow the questions the business genuinely needs answered, with a bias toward the finer level where the cost is close.

Vocabulary discipline is what makes events shareable

The Core Business Vocabulary provides standard values for business steps and dispositions. Using them is what allows a partner to interpret your events without a bilateral mapping document.

Local extensions are permitted and are frequently necessary, but every local term is a term somebody outside your organisation cannot interpret. The workable rule is to use CBV terms wherever one fits, and to treat reaching for an extension as a signal to check the standard vocabulary again first.

Where events meet the passport

A passport describes what a product is. Events describe what has happened to it. The two are complementary and the relationship between them needs deciding explicitly.

Attributes are the current state; events are how it got there.

The fourth layer is worth designing deliberately. Current ownership is not usually stored as an attribute; it is the result of replaying custody events. Storing it as an attribute as well creates two sources of truth that will disagree.

Common mistakes worth avoiding

Three patterns recur across implementations and each is cheaper to avoid than to correct.

Recording event time as the time the record was created rather than the time the event occurred. EPCIS carries both fields precisely because they differ, and conflating them makes any latency analysis impossible.

Treating read point and business location as the same thing. A read point is where the capture happened; a business location is where the object is understood to be. A scan at a dock door is a read point, and the business location is the warehouse.

Emitting events without a stable identifier scheme behind them. Events referencing identifiers that are reassigned or reformatted between systems produce a history that cannot be reliably reassembled, which defeats the purpose of capturing it.

Frequently asked questions

Does EPCIS tell us what to record?

No. EPCIS 2.0 defines how to express an event — what, when, where and why — but not which events are worth capturing. Choosing the business steps, setting identifier granularity and applying vocabulary consistently is design work the standard deliberately leaves to the implementer.

Which events should we capture?

Those where something changes that a downstream party would need to know: custody changes between organisations, transformations where inputs become outputs, state changes such as testing or repair, and aggregations. Intermediate movements inside one facility belong in a warehouse system instead.

What granularity should we choose?

Follow the questions the business genuinely needs answered, with a bias toward the finer level when costs are close. Serial data aggregates to batch whenever you want, but batch data can never be refined to serial for units already in the field.

Why does the Core Business Vocabulary matter?

Because it lets a partner interpret your events without a bilateral mapping document. A business step of shipping and a disposition of in transit mean something specific everywhere, while a local code meaning "left the plant" is interpretable only inside your own organisation.

How do events relate to passport attributes?

Attributes describe what a product is; events describe what has happened to it. Some current state — ownership or location — is best derived by replaying events rather than stored as an attribute, because storing both creates two sources of truth that will eventually disagree.

What is the difference between read point and business location?

A read point is where the capture physically happened; a business location is where the object is understood to be. A scan at a dock door has the dock door as its read point and the warehouse as its business location, and conflating them loses information.

Why record both event time and recording time?

Because they differ, sometimes substantially. Recording event time as the moment the record was created rather than when the event occurred makes any latency analysis impossible, and it distorts any reconstruction of the sequence in which things actually happened along the chain.

Sources

  1. EPCIS and CBV 2.0 standardGS1, 2022-06
  2. GS1 Digital Link standardGS1, 2024-01

Continue reading

Next step

See a passport built on this

CirculeID turns the requirements described above into a working Digital Product Passport for your products.

Index