Home » Blog

Enhancing Protocols with Conditional Flows

 · 3 min · Romeu Gonçalves

How can condition-based Flows enhance or complement the capabilities of other MES entities?

Conditional Flows Protocols 11.1
This post explores how conditional flows can strengthen the Protocol functionality within the Critical Manufacturing MES environment.

Using flows with conditions, we need to control how far WIP material affected by a protocol is allowed to move through the process. This lets us block shipment or final steps while still allowing earlier operations to continue under controlled conditions.

So, how exactly do Conditional Flows fit into a wider application of protocols? Let’s take a closer look.

Getting Started with Conditional Flow Items

Basic conditional logic can be implemented using simple expressions based on Material (lot) properties or attributes, addressing simple use cases, such as skipping specific Steps or determining the upcoming Flow.

For more complex scenarios, beyond the scope of expressions, Rule Sets can be used to execute advanced decision-making and control logic within the workflow.

Protocol

In a manufacturing context, a Protocol is a predefined process that is triggered when an exception or abnormal condition occurs, such as a defect, an out-of-spec measurement, or a value recorded during in-process inspection that falls outside defined specification limits.

When a Non-Conformance Report (NCR) or a Corrective and Preventive Action (CAPA) is initiated and linked to the affected lots, the system may place those lots on hold, notify the quality team, and — most importantly — prevent them from moving forward to the next operation or being marked as complete (or shipped) until the issue has been fully addressed.

Example: PROTOCOL

🧩 Challenge: Since the process Steps preceding Laser Mark do not impact the final outcome of the lots — even when a protocol has been initiated — those lots are allowed to continue through these earlier steps. However, the protocol must be closed before the lots reach the Laser Mark Step, as they could be downgraded and require alternative marking. How can this be implemented?

PROTOCOL

Here’s how Critical Manufacturing MES handles it in action:

Why This Feature Is So Helpful for Enhancing CM MES

The previous example highlights just a glimpse of what Conditional Flows can achieve. These elements can function independently or enhance other CM MES entities. While the demo focused on material properties, conditions can also incorporate attributes, characteristics, product and product family data, and even specific process step properties.

For more advanced use cases, custom rules can be embedded directly into the Flow structure—enabling dynamic material routing across alternate paths and triggering protocol actions when a lot enters or exits a step.

Final thoughts

To sum up, the use of conditional Flow Items significantly strengthens the CM MES system by enabling dynamic process control and improving overall operational efficiency.

Author

Hi! My name is José Romeu Gonçalves. 😉

I've been with Critical Manufacturing since 2018, starting out as an MES Consultant. Earlier this year, I stepped into the recently created Advocate & Architecture team. My role sits at the intersection of technology, communication, and strategy. Making sure solutions are technically sound and that everyone understands how to use or build them.

You can check me on LinkedIn

Skills: MES Consultant | System Testing | System Modeling | User Training | Content Creating

Romeu Gonçalves
Architecture & Advocacy | MES