スコープ「rhino.global」からの「x_<カスタムテーブル>」に対する作成操作が、テーブルのクロススコープアクセスポリシーが原因で拒否されたIssue <!-- /*NS Branding Styles*/ --> .ns-kb-css-body-editor-container { p { font-size: 12pt; font-family: Lato; color: #000000; } span { font-size: 12pt; font-family: Lato; color: #000000; } h2 { font-size: 24pt; font-family: Lato; color: black; } h3 { font-size: 18pt; font-family: Lato; color: black; } h4 { font-size: 14pt; font-family: Lato; color: black; } a { font-size: 12pt; font-family: Lato; color: #00718F; } a:hover { font-size: 12pt; color: #024F69; } a:target { font-size: 12pt; color: #032D42; } a:visited { font-size: 12pt; color: #00718f; } ul { font-size: 12pt; font-family: Lato; } li { font-size: 12pt; font-family: Lato; } img { display: ; max-width: ; width: ; height: ; } } 「rhino.global」からの「x_<カスタムテーブル>」 に対する作成操作が、テーブルのクロススコープアクセスポリシーが原因で拒否されました (Create Operation against 'x_ 'rhino.global' has been refused due to the table's cross-scope access policy) というエラーが表示されます。 Release<!-- /*NS Branding Styles*/ --> .ns-kb-css-body-editor-container { p { font-size: 12pt; font-family: Lato; color: #000000; } span { font-size: 12pt; font-family: Lato; color: #000000; } h2 { font-size: 24pt; font-family: Lato; color: black; } h3 { font-size: 18pt; font-family: Lato; color: black; } h4 { font-size: 14pt; font-family: Lato; color: black; } a { font-size: 12pt; font-family: Lato; color: #00718F; } a:hover { font-size: 12pt; color: #024F69; } a:target { font-size: 12pt; color: #032D42; } a:visited { font-size: 12pt; color: #00718f; } ul { font-size: 12pt; font-family: Lato; } li { font-size: 12pt; font-family: Lato; } img { display: ; max-width: ; width: ; height: ; } } すべて Cause<!-- /*NS Branding Styles*/ --> .ns-kb-css-body-editor-container { p { font-size: 12pt; font-family: Lato; color: #000000; } span { font-size: 12pt; font-family: Lato; color: #000000; } h2 { font-size: 24pt; font-family: Lato; color: black; } h3 { font-size: 18pt; font-family: Lato; color: black; } h4 { font-size: 14pt; font-family: Lato; color: black; } a { font-size: 12pt; font-family: Lato; color: #00718F; } a:hover { font-size: 12pt; color: #024F69; } a:target { font-size: 12pt; color: #032D42; } a:visited { font-size: 12pt; color: #00718f; } ul { font-size: 12pt; font-family: Lato; } li { font-size: 12pt; font-family: Lato; } img { display: ; max-width: ; width: ; height: ; } } 別のアプリケーションスコープ (グローバルスコープ) にあるテーブルのスクリプトが、異なるアプリケーションスコープに属しているカスタムテーブルにレコードを挿入しようとしたことが原因です。 あるシナリオで、「x_<カスタムテーブル>」のレコードを作成する必要があるビジネスルールがあったとします。 例:「グローバル」アプリケーションスコープ内にあるインシデントテーブルを介したビジネスルール。 function onAfter(current,previous){var csCustomTable=new GlideRecord("x_custom_table");csCustomTable.initialize();......csCustomTable.insert(); Resolution<!-- /*NS Branding Styles*/ --> .ns-kb-css-body-editor-container { p { font-size: 12pt; font-family: Lato; color: #000000; } span { font-size: 12pt; font-family: Lato; color: #000000; } h2 { font-size: 24pt; font-family: Lato; color: black; } h3 { font-size: 18pt; font-family: Lato; color: black; } h4 { font-size: 14pt; font-family: Lato; color: black; } a { font-size: 12pt; font-family: Lato; color: #00718F; } a:hover { font-size: 12pt; color: #024F69; } a:target { font-size: 12pt; color: #032D42; } a:visited { font-size: 12pt; color: #00718f; } ul { font-size: 12pt; font-family: Lato; } li { font-size: 12pt; font-family: Lato; } img { display: ; max-width: ; width: ; height: ; } } 「x_<カスタムテーブル>」に対する [作成可能 (Can create)] オプションを有効にします。 [システム定義] > [テーブル] に移動します。カスタムテーブルのレコードを開きます。 [アプリケーションのアクセス (Application Access)] セクションで、[作成可能 (Can create)] チェックボックスをオンにします。 Related Links<!-- /*NS Branding Styles*/ --> .ns-kb-css-body-editor-container { p { font-size: 12pt; font-family: Lato; color: #000000; } span { font-size: 12pt; font-family: Lato; color: #000000; } h2 { font-size: 24pt; font-family: Lato; color: black; } h3 { font-size: 18pt; font-family: Lato; color: black; } h4 { font-size: 14pt; font-family: Lato; color: black; } a { font-size: 12pt; font-family: Lato; color: #00718F; } a:hover { font-size: 12pt; color: #024F69; } a:target { font-size: 12pt; color: #032D42; } a:visited { font-size: 12pt; color: #00718f; } ul { font-size: 12pt; font-family: Lato; } li { font-size: 12pt; font-family: Lato; } img { display: ; max-width: ; width: ; height: ; } } 次のドキュメントも確認してください。 テーブルの作成 [アプリケーションのアクセス (Application Access)] セクションをクリックして、テーブルのスコープ保護を定義します。 詳細については、「アプリケーションのアクセス設定」を参照してください。 作成可能 (Can Create) このチェックボックスをオンにすると、他のアプリケーションスコープのスクリプトオブジェクトがこのテーブルにレコードを作成できるようになります。このオプションは実行時保護を提供します。たとえば、別のアプリケーション内のスクリプトでこのテーブルに新しいレコードを挿入できます。このオプションは、[読み取り可能 (Can read)] チェックボックスが選択されている場合にのみ使用できます。このチェックボックスをオフにすると、他のアプリケーションスコープのスクリプトオブジェクトはこのテーブルにレコードを作成できなくなります。 クロススコープ特権レコード