How to run a routine when a Namespace component setting is updated/changed?
I need to execute code whenever a production component setting is updated, such as when a service port is changed and the `ens.config` table is updated. This code will handle tasks like logging these updates to a custom table for external reporting purposes.
How can I invoke custom code on these updates?
Ideally, I need to monitor all namespaces that are interoperability-enabled. Whenever a production component setting is changed in any namespace, I need to run the code.
Product version: IRIS 2024.1
Discussion (2)0
Comments
In your production class you can implement the OnConfigChange() method.
From Class Reference:
This method is called when config changes to the Production or any item are saved from the portal
Just what I was looking for. Thanks