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

Home > How to access the Header properties of a message in Code

Question
Thembelani Mlalazi · Jul 5, 2018

How to access the Header properties of a message in Code

I am trying to write a generic process that will take any incoming message but would like to know where it came from so in my code I would like to do something like this

If (Document.Source="some serviceorProcess").

Just to be clear in the route you get these features is there a way of accessing them in code

#Business Process (BPL) #Object Data Model #ObjectScript #Studio #Caché

Source URL: https://community.intersystems.com/post/how-access-header-properties-message-code