GetNotificationType function (automation interface)
Syntax:
GetNotificationType
Returns a long to indicate the type of the current notification call:
• 1 means the notification call was made through entering a state.
• 2 means the notification call was made through exiting a state.
• 3 means the notification call was made through a transition.