Customization > Automation Interface > Functions > For System Simulations > Notification Functions > GetNotificationFileName function (automation interface)
  
GetNotificationFileName function (automation interface)
Syntax:
GetNotificationFileName
Returns the path and name of the state machine file that made the current notification call.
* 
Use the GetNotificationLineNumber function to determine the line number that made the current notification call.