Check action type before throwing event