Customization > Automation Interface > Functions > For System Simulations > Event Functions > GetEventName function (automation interface)
  
GetEventName function (automation interface)
Syntax:
GetEventName
Returns the name of the current event as a string.