Nexeed
    • Introduction
    • User manual
      • Concept
        • iFNS MatLabelCheck
        • INTEGMA
          • eASN (Electronic Advanced Shipping Notice)
          • GRTO (Goods Receipt Transfer Order)
          • Pairing
          • Repacking
        • On setup label creation
      • Basic operation
        • Basic interaction elements
        • Filter tables via filter dialog
        • Search for materials
        • Export results table
        • Adjust table columns
        • Configuring a scanner
      • Material info
        • Material details tab
        • Blocks tab
        • MSD Info tab
        • Monitoring tab
        • Material history tab
        • Setup history tab
      • Material search
        • Label by ID tab
        • Material by ID tab
        • Extended search tab
      • MSD handling
        • Dry Box content tab
      • Inbound events
        • Details of an event
      • Material monitoring
        • Start a monitoring process
        • Add materials for monitoring window
        • Monitoring details page
        • State and state changes
          • Single Stage Thawing
          • Dual Stage Thawing
          • Solder paste monitoring
        • Roles and resources for material monitoring
      • Configuration
        • Blocking Rules tab
        • On setup label creation rules tab
        • Displaying and editing the configuration file
        • Monitoring location definitions tab
        • Monitoring process definitions tab
        • Printer settings tab
        • Printer templates tab
      • Desktop clients
        • Material InfoPanel desktop client
        • Mat climate control desktop client
    • Operations manual
      • Introduction
        • Nexeed Material Management
        • Application security
        • API documentation
        • Nexeed IAS Ops team
      • Overview
      • System architecture and interfaces
      • System requirements
        • mat/materialmanagement-backendservice
      • Migration from previous versions
        • Migrate Material Management from version 2.11 to 3.0
        • Migrate Material Management from version 3.0 to 3.1.x
        • Migrate Material Management from version 3.1.x to 3.2.x
        • Migrate Material Management from version 3.2.x to 3.3.x
        • Migrate Material Management from version 3.3.x to 3.4.x
        • Migrate Material Management from version 3.4.x to 3.5.x
        • Migrate Material Management from version 3.5.x to 3.6.x
        • Migrate Material Management from version 3.6.x to 3.7.x
        • Migrate Material Management from version 3.7.x to 3.8.x
        • Migrate Material Management from version 3.8.x to 3.9.x
        • Migrate Material Management from version 3.9.x to 3.10.x
        • Migrate Material Management from version 3.10.x to 3.11.x
        • Resources mapping from MES to IAS
      • Setup and configuration
        • Helm Configuration
          • materialmanagement-backendservice
          • materialmanagement-shared
        • Installation guide
        • Operation in hybrid mode - overview
        • Installing MatClimateControl with MES Installer
        • General information about configuration
        • Installing MaterialInfoPanel with MES Installer
        • General information about configuration
      • Start and shutdown
      • Regular operations
        • MSD Buffer timespan handling
        • Tenant data removal
        • Runtime configuration handling
        • Background jobs
      • Failure handling
        • Authorization troubleshooting
        • Database-migration troubleshooting
      • Backup and Restore
      • Logging and monitoring Material Management
      • Known limitations
        • Multitenancy capability
        • On premise
        • Database support
    • API documentation
      • HTTP API
      • Restricted HTTP API
    • Glossary
Material Management
  • Industrial Application System
  • Core Services
    • Block Management
    • Deviation Processor
    • ID Builder
    • Multitenant Access Control
    • Notification Service
    • Ticket Management
    • Web Portal
  • Shopfloor Management
    • Andon Live
    • Global Production Overview
    • KPI Reporting
    • Operational Routines
    • Shift Book
    • Shopfloor Management Administration
  • Product & Quality
    • Product Setup Management
    • Part Traceability
    • Process Quality
    • Setup Specs
  • Execution
    • Line Control
    • Material Management
    • Order Management
    • Packaging Control
    • Rework Control
  • Intralogistics
    • AGV Control Center
    • Stock Management
    • Transport Management
  • Machine & Equipment
    • Condition Monitoring
    • Device Portal
    • Maintenance Management
    • Tool Management
  • Enterprise & Shopfloor Integration
    • Archiving Bridge
    • Data Publisher
    • Direct Data Link
    • Engineering UI
    • ERP Connectivity
    • Gateway
    • Information Router
    • Master Data Management
    • Orchestrator

Nexeed Learning Portal

  • Material Management
  • Operations manual
  • Regular operations
  • Background jobs

Background jobs

Material Management is executing 5 background jobs during its runtime. These jobs are using Quartz (link) for scheduling these jobs.

How scheduling works

On startup the service’s pod will read the configuration, and based on the values in the cyclicTasks section under description_of_the_runtime_configuration_values it will (re)-schedule the jobs. The following options are considered:

  • If the interval values are matching in the configuration and in the scheduled job, no action is taken

  • If the intervals are different, the job will be re-scheduled

  • If the job was not scheduled before, it will be scheduled now with the values in the configuration

In case there is a configuration update performed as described in uploading_new_configuration, the service will check if any of the intervals changed, and will reschedule the job in case its required.

Job execution

Whenever Quartz notices that one of the scheduled jobs has to be executed, it will signal all available replicas, and based on a race-condition via locking, one of the replicas will start executing the job.

Whenever a job starts or completes execution, the JobHistory table in the database will be updated with the details, including success indicator, date and time, and errorText.

If a job is failing during execution, there is an additional retry scheduled in 5 minutes after the failure. If the retry also fails, the scheduling will return to the normal configured intervals.

Jobs and what do they do

BlockExpiredMaterials

Searches for all materials, which fulfill the following criteria:

  • ExpirationDate is in the past

  • Material is currently active

  • Material is not used up yet

  • There is no Expired block on the material yet

Creates an Expired block for all of the materials which were found in the above query.

BlockOverExposedMaterials

Searches for all materials which fulfill the following criteria:

  • Material is active

  • Msl of the material does not have (close-to) infinite FloorLife

  • Material has been exposed for longer than the MSL settings allow

  • FirstOpenedTimestamp is not null

  • Material is not used up yet

  • There is no OverExposed block on the material yet

Creates an OverExposed block for all of the materials which were found in the above query.

SetMaterialsInactive

Searches for all materials which fulfill the following criteria:

  • Material was not used for a while. The threshold is CyclicTasks.inactiveMaterialThreshold from the configuration

  • Material is active

  • Material is not a Master for a Single which was used recently

  • Material is not set to a location

Deactivates the material, setting the Active flag to false (or 0 in the database). Deactivation removes all blocks which can be re-added during activation. It will not delete blocks, which can not be re-evaluated later.

ClearJobHistory

Clears the JobHistory table, removing all entries which are older than the configured amount. Configuration key is: CyclicTasks.clearJobHistoryInterval.

RebuildIndexes

Tries to find indexes in the database which has not been rebuilt for longer than 90 days, and will rebuild the oldest index. Index rebuilding does not require the service to stop, and can be executed during normal operation. It will only rebuild one index per run.

Contents

© Robert Bosch Manufacturing Solutions GmbH 2023-2025, all rights reserved

Changelog Corporate information Legal notice Data protection notice Third party licenses