Refreshing the metadata cache

Because certain event metadata is cached for faster performance, the IDO metadata cache must be refreshed periodically—usually after changes to event metadata (that is, after making changes to events, handlers, actions, triggers, and global constants). This must be done, at a minimum, after doing development work, before testing, and after synchronizing the metadata on your system.

Note: 
  • If you have multiple Application Servers in your system, you must refresh cached metadata for each Application Server on which metadata might have been cached. The best way to do this is by unloading global objects from your system.
  • Any event metadata that is not referenced within two minutes is automatically flushed from the cache and refreshed. That is why you might notice that things work the way you expect, even without manually refreshing the cached metadata. We recommend, as a precaution, however, that you manually refresh the cached metadata to be sure.

These are the ways you can refresh the cached metadata:

  • Click the Discard Cache button on the Utilities tab of the Configuration Manager.
  • Unload global objects.

    This requires that you first select the Unload IDO Metadata with Forms option in User Preferences.

  • Restart the IDO Runtime Service on the Applications Server or the local instance of the IDO Runtime host service.