Loading
Salesforce から送信されるメールは、承認済ドメインからのみとなります続きを読む

デプロイ時に「chatter_answers_question_escalation_to_case_trigger」で「trigger body is invalid and failed recompilation : Entity is not org-accessible」エラーが発生する

公開日: Jan 9, 2025
説明
変更セットのリリース時やメタデータAPI を用いたデプロイ時に下記のエラーが発生し、変更の適用に失敗する場合があります。
 
trigger body is invalid and failed recompilation: Entity is not org-accessible 
Stack Trace: null

 
解決策

Summer'16 より、新しい組織では Chatter アンサー機能が無効となっている事が原因です。現在、Chatter アンサー機能のサポートは終了しています。
(参考: Chatter アンサーの廃止

Chatter アンサーが組織で無効になっているにも関わらず、Chatter アンサーで使用する設定が存在する場合、今回のエラーが発生します。
エラーを回避するためには、下記のリストにある設定を全て削除します。組織で Chatter アンサーを使用しない場合、これらを削除しても安全です。

ワークフロールール:

chatter_answers_no_best_reply_within_time_limit_wf
chatter_answers_num_subscriptions_above_limit_wf

 
項目自動更新:

chatter_answers_num_subscriptions_above_


トリガー:

chatter_answers_question_escalation_to_case_trigger

 
Visualforce ページ:

ChatterAnswersLogin
ChatterAnswersRegistration
ChatterAnswersForgotPassword
ChatterAnswersForgotPasswordConfirm
ChatterAnswersChangePassword
ChatterAnswersAgentView
ChatterAnswersHelp

 
Apex クラス:

ChatterAnswersAuthProviderRegistration
ChatterAnswersAuthProviderRegTest
ChatterAnswersCreateAccountTest
ChatterAnswersEscalationTriggerTest
ChatterAnswersRegistration


* トリガーと Apex クラスは有効な本番組織では削除できません。下記を参考に削除をお試しください。
本番組織から Apex クラスまたはトリガを無効化し、リリースがブロックされることを防ぐ

ナレッジ記事番号

000383210

 
読み込み中
Salesforce Help | Article