trigger body is invalid and failed recompilation: Entity is not org-accessible Stack Trace: null
Summer'16 より、新しい組織では Chatter アンサー機能が無効となっている事が原因です。現在、Chatter アンサー機能のサポートは終了しています。
(参考: Chatter アンサーの廃止)
Chatter アンサーが組織で無効になっているにも関わらず、Chatter アンサーで使用する設定が存在する場合、今回のエラーが発生します。
エラーを回避するためには、下記のリストにある設定を全て削除します。組織で Chatter アンサーを使用しない場合、これらを削除しても安全です。
ワークフロールール:
項目自動更新:
トリガー:
Visualforce ページ:
Apex クラス:
* トリガーと Apex クラスは有効な本番組織では削除できません。下記を参考に削除をお試しください。
- 本番組織から Apex クラスまたはトリガを無効化し、リリースがブロックされることを防ぐ
000383210

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.