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