Published on InterSystems Developer Community (https://community.intersystems.com)

Home > Executing Actions on Global Interaction / Global Hooks?

Question
Niklas Thilmont · Mar 14, 2022

Executing Actions on Global Interaction / Global Hooks?

Hey InterSystems Community!

This is probably far-fetched - is there a way to get notified/get a piece of code triggered whenever the state of a global changes?

Now what could I possibly want with that? Quite simple! I would like to forward the content of a global (in this case the "FSLog" global written by the FHIR implementation) while adding timestamps to it - to create some sort of file-based logging for it.

#Globals #InterSystems IRIS #InterSystems IRIS for Health
Product version: IRIS 2021.1

Source URL:https://community.intersystems.com/post/executing-actions-global-interaction-global-hooks