system.mes.invalidateCache

Sepasoft MES Module Suite

system.mes.invalidateCache()

Clears the MES Object cache on the gateway causing MES Objects to be reloaded from the database (including the schedule cache, lot cache, and work order cache). For performance purposes, this script function should be used sparingly. 

Syntax

system.mes.invalidateCache()

  • Parameters

None

  • Returns

Nothing

  • Scope

All

Code Example

Python
#This code removes the cache from the gateway
clear = system.mes.invalidateCache()

Sepasoft MES Module Suite