Skip to content

Multiple overlapping contexts management

The system can manage the presence of multiple contexts on the same machine at the same instant or time period, for example when the production line is able to process two or more orders simultaneously on the same machine. Unlike basic context management, relationships are not created directly in the fact tables, but every relationship to the context is transformed into a many-to-many relationship using a connection table. Every connection table contains references to the fact table and to the context dimension.

For multiple contexts, only the following model extensions are created when the Context Manager and multi-context management are enabled (no entity extensions):

  • Downtime Analytics - related to the Status.
  • Capacity Analytics - related to Speed and Cycle Time.

For each relationship to these entities and to the standard entities “IndicatorValue”and “TagValue”, a connection table is created. The name of the connection table is made up of entity name + name of the context + Set. For example, in the case of counters and the relationship with the "OperationExecution" entity (work order), the table is called IndicatorValueOperationExecutionSet.

Multiple contexts benefits

  • Prevent wrong KPI calculations using fact tables by storing a unique record for each notable fact (machine state, machine speed, etc.).
  • Avoid contextualization loss.
  • Standardize access to context value information.

Important notes

  • Every relationship is a table in bm20 schema.
  • Probably not every context has multiple instances, but to simplify the configuration every context is managed in the same way with the connection tables.
  • "TagValue" and "IndicatorValue" do not use the "_Extension" table anymore to store the relationships.
  • Smart views replicate the same structure.
  • If you need to retrieve information on the context in a query, you have to perform a Join on the connection table: in that case the contextualized rows are multiplied in the Analytics entities.

Example scenarios

If you configured one of the following scenarios, it is necessary to enable the multiple-context management.

  • Multiple work orders are processed simultaneously on the same machine.
  • Multiple input and/or output lots are consumed or produced simultaneously.
  • In general, multiple operations are performed simultaneously.

It is recommended that you always choose to enable the multi-context management when creating a new Project (also when you are not sure yet about this scenario).

Limitations

All existing customers maintain the present settings. You can migrate an existing project to the new option by editing the Project, keeping in mind that this operation cannot be undone once the change has been saved.


Last update: October 26, 2026