Skip to main content
Version: V2 (Ignition 8.1)

system.mes.shift.reloadStateFromDB

Description​

Reloads the Shift state from the database. Use this after making manual database updates to ensure in-memory trigger expressions and related cached state are refreshed.

Permissions​

This method requires the SHIFT.READ.GET permission.

Syntax​

system.mes.shift.reloadStateFromDB()

Parameters​

ParameterTypeNullableDescription
None--This method does not take any parameters.

Returns​

No return value.

Code Examples​

# Reload shift trigger expressions and state from DB
system.mes.shift.reloadStateFromDB()