Apex 예외 메일 수신자를 변경할 수 있는 방법이 있습니까?
Salesforce Classic: 설정 | 빠른 찾기 | Apex 예외 이메일
Lightning Experience: 기어 아이콘 | 설정 | 빠른 찾기 | Apex 예외 이메일
Salesforce 사용자 추가 또는 Salesforce 외 사용자의 이메일 주소를 추가 | 저장 클릭
입력된 이메일 주소는 고객 조직의 모든 관리형 패키지에 적용됩니다.
"Apex 예외 이메일"을 설정한 후, Salesforce 조직에서 어떠한 사용자에 의해 Apex 예외가 발생한 경우, 지정된 사용자는 Apex 예외 이메일을 받게 됩니다.
Tooling API 개체 ApexEmailNotification을 사용하여 Apex 예외 이메일을 구성할 수도 있습니다.
Example Scenario (예제 시나리오)
개발 팀이 수신되는 리드 레코드를 처리하는 사용자 정의 Apex 트리거를 프로덕션에 배포했습니다. 어느 날 저녁, 데이터 가져오기 작업을 통해 트리거 논리의 엣지 케이스를 노출하는 레코드가 생성되어 처리되지 않은 예외가 발생했습니다. 팀의 공유 받은 편지함에 대해 Apex 예외 이메일이 구성되어 있지 않으면 트리거를 마지막으로 수정한 개별 개발자만 오류 알림을 받게 되며, 마침 해당 개발자가 휴가 중일 수 있습니다. 다음 날 아침 문제가 발견될 때까지 수백 개의 리드 레코드 처리가 실패합니다. 팀의 공유 받은 편지함이나 전용 온콜(on-call) 이메일 주소로 알림을 보내도록 Apex 예외 이메일을 구성하면, 담당자의 부재 여부와 관계없이 프로덕션 Apex 오류를 즉시 포착하고 분류할 수 있습니다.
Salesforce는 APEX 코드의 잠재적인 문제가 감지될 경우 두 가지 유형의 알림 메일을 보냅니다.
LastModifiedBy 필드에 지정된 개발자, 또는 Apex 예외 이메일 목록에 추가된 사용자에게 전송됩니다. 목록에 추가된 사용자는 비활성 상태일지라도 이메일을 받게 됩니다. ApexEmailNotification (Tooling API Object Reference)
What Happens When an Apex Exception Occurs?
Control Who Receives Flow and Process Error Emails
Apex Governor Limits (Salesforce Developer Documentation)
Apex Exception Handling (Salesforce Developer Documentation)
000385876

We use three kinds of cookies on our websites: required, functional, and advertising. You can choose whether functional and advertising cookies apply. Click on the different cookie categories to find out more about each category and to change the default settings.
Privacy Statement
Required cookies are necessary for basic website functionality. Some examples include: session cookies needed to transmit the website, authentication cookies, and security cookies.
Functional cookies enhance functions, performance, and services on the website. Some examples include: cookies used to analyze site traffic, cookies used for market research, and cookies used to display advertising that is not directed to a particular individual.
Advertising cookies track activity across websites in order to understand a viewer’s interests, and direct them specific marketing. Some examples include: cookies used for remarketing, or interest-based advertising.