Skip to content

Guidance on how to use the Context Manager efficiently

This chapter aims at providing general recommendations as well as the necessary prerequisites for contextualization based on the type of source.

To avoid issues when using the Context Manager and ingesting data, customers should ensure to follow some specific recommendations before activating the Context Manager.

General recommendations

These recommendations must be applied when you are working on your MES system used as a source application. They apply to any type of data source.

  • Always make sure to close Work Orders to avoid ending up with thousands of open Work Orders. Closing a Work Order means that it must always have an End Date. This is particularly important because there is no way to close Work Orders en masse.
  • Make sure to always associate Work Orders and Operations with the Equipment during runtime operations.
  • Always close Operations that you have started. Operations must have a Start Time and an End Time. Retention on the Context Manager can only be applied if Operations are closed, otherwise Operations will always remain associated with the machine.
  • Due to its ingestion logic, Opcenter Intelligence always expects to find datetime fields in UTC format in the data source database. Therefore, in case of MES-side customizations, data must always be saved in UTC format, never in local time format.

Recommendations for MES data sources

The recommendations contained in these chapters are pertinent to the following data sources:

Opcenter Execution Discrete

Opcenter Execution Discrete < 4.4 data sources are not aligned with all the latest improvements of the Opcenter Intelligence ingestion scripts. The use of these versions of Opcenter EX DS should always be discouraged by asking customers to update the source first. It is possible that not all types of contextualization are supported, and we suggest discussing this with the project team to identify gaps and customize the scripts.
If Work Order Operations States are customized with custom states, you have to customize some ingestion scripts as well, for example OperationResponse and OperationResponseEquipmentSpecification.
Verify that the WorkOrderHistory table contains data. The columns that must contain values for a proper contextualization are WorkOrderOperation_Id, Equipment and Date. If these columns are not present, please contact Opcenter Execution Discrete support team.

Opcenter Execution Process

Opcenter Execution Process < 4.0 data sources are not aligned with all the latest improvements of Opcenter Intelligence ingestion scripts. The use of these versions of Opcenter EX PR should always be discouraged by asking customers to update the source first. It is possible that not all contextualization types are supported, and we suggest discussing this with the project team to identify gaps and customize the scripts.
By default, the Tool context is not supported for Opcenter EX PR, unless customizations are implemented.
If you are using Pauses, or any other custom state in the work order operations, you need to customize the scripts. As the Context Manager cannot recognize these entities, they need to be populated and customized with the support of the project team. The entities are OperationResponse and OperationResponseEquipmentSpecification.

Third-party data sources

If you are using a third-party data source and depending on what you want to contextualize, you may have to customize:

  • OperationResponse
  • OperationResponseEquipmentSpecification
  • Equipment
  • OperationExecution
  • MaterialDefinition
  • OperationResponseMaterialLotSpecificationIn
  • OperationResponseMaterialLotSpecificationOut
  • OperationResponseToolSpecification

The association between work order operation and equipment should be managed only in OperationResponse if the operations are performed solely on a piece of equipment and without any pause, or only in OperationResponseEquipmentSpecification otherwise. The relationship between work order operation and equipment should never be managed simultaneously in both tables.


Last update: October 26, 2026