Home » Blog

Smart Routing for Defect Classification

 · 3 min · Romeu Gonçalves

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

Conditional Flows Material Defect V11.1
This post explores how conditional flows can strengthen the Material Defect functionality within the Critical Manufacturing MES environment.

By offering a flexible and dynamic solution to route Materials based of specific conditions, conditional Flows serve as a powerful tool for optimizing workflows without the need for extensive custom coding.

So, the question is: how do conditional Flows truly fit into the broader MES ecosystem? Let’s dive in and find out.

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.

Record and Reclassify Defects

The Material Defects functionality is designed to support inspection processes, by enabling the capture of defects — either manually or automatically — during material inspections. These inspections can be performed using dedicated inspection equipment or through visual checks.

This capability is applicable across several industries and process types, but it is especially prevalent in SMT, electronics, and industrial equipment sectors, where individual units are inspected, and defects are logged. Once captured, defects are classified and evaluated. Then, based on the assessment, the units may be accepted, rejected, or routed for repair by the quality team or through advanced inspection systems.

Example: MATERIALDEFECT

🧩 Challenge: How can we prevent units with no recorded defects from proceeding to the reclassification step, avoiding unnecessary processing for defect-free units?
Let’s take a quick look at CM MES in action:

Why This Feature Is So Helpful for Enhancing CM MES

The example presented earlier showcases just a fraction of the potential that Flow Items with conditions offer. These elements can function both independently and in conjunction with other CM MES entities. While the demonstrations focused on Material properties, the possibilities extend far beyond this. Attributes and characteristics of Materials along with Product properties, Product families, and process Steps, can all be incorporated.

In more complex scenarios, custom rules can be developed and integrated into the Flow structure. This flexibility also supports dynamic routing, allowing Materials with defects to follow alternate paths and triggering specific rules when a lot enters or exits a Step.

Final thoughts

In conclusion, the adaptability of condition-based Flows allows CM MES to respond intelligently to material-specific data, such as defects, optimizing process paths and improving operational effectiveness.

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