EventContext.getOwner

Returns the object that owns the event currently being executed. This will be one of:
  • IntegrationService for all Integration Service Events
  • WorkflowJob for all workflow events including the execution of System Activities and Decision and Pause nodes

returns EventOwner