CMDB 識別および調整エラー '参照値フィールド名は、参照フィールド <フィールド名> の親である CMDB テーブルの識別子ではありません。このレコードをスキップしていますIssue <!-- /*NS Branding Styles*/ --> .ns-kb-css-body-editor-container { p { font-size: 12pt; font-family: Lato; color: var(--now-color--text-primary, #000000); } span { font-size: 12pt; font-family: Lato; color: var(--now-color--text-primary, #000000); } h2 { font-size: 24pt; font-family: Lato; color: var(--now-color--text-primary, black); } h3 { font-size: 18pt; font-family: Lato; color: var(--now-color--text-primary, black); } h4 { font-size: 14pt; font-family: Lato; color: var(--now-color--text-primary, black); } a { font-size: 12pt; font-family: Lato; color: var(--now-color--link-primary, #00718F); } a:hover { font-size: 12pt; color: var(--now-color--link-primary, #024F69); } a:target { font-size: 12pt; color: var(--now-color--link-primary, #032D42); } a:visited { font-size: 12pt; color: var(--now-color--link-primary, #00718f); } ul { font-size: 12pt; font-family: Lato; } li { font-size: 12pt; font-family: Lato; } img { display: ; max-width: ; width: ; height: ; } } インポートセット変換を使用して識別エンジンを呼び出すと、以下のエラーが発生する可能性があります。参照: https://docs.servicenow.com/csh?topicname=c_CMDBTransformUtilAPI.html&version=latest"Reference value field name [Name of the reference value field ] is not an identifier for the CMDB table <Table Name>[table where we are pointing to] which is the parent for reference field <Field> [Reference Feild name in the Source of the import set ]. Skipping this record" Release<!-- /*NS Branding Styles*/ --> .ns-kb-css-body-editor-container { p { font-size: 12pt; font-family: Lato; color: var(--now-color--text-primary, #000000); } span { font-size: 12pt; font-family: Lato; color: var(--now-color--text-primary, #000000); } h2 { font-size: 24pt; font-family: Lato; color: var(--now-color--text-primary, black); } h3 { font-size: 18pt; font-family: Lato; color: var(--now-color--text-primary, black); } h4 { font-size: 14pt; font-family: Lato; color: var(--now-color--text-primary, black); } a { font-size: 12pt; font-family: Lato; color: var(--now-color--link-primary, #00718F); } a:hover { font-size: 12pt; color: var(--now-color--link-primary, #024F69); } a:target { font-size: 12pt; color: var(--now-color--link-primary, #032D42); } a:visited { font-size: 12pt; color: var(--now-color--link-primary, #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: var(--now-color--text-primary, #000000); } span { font-size: 12pt; font-family: Lato; color: var(--now-color--text-primary, #000000); } h2 { font-size: 24pt; font-family: Lato; color: var(--now-color--text-primary, black); } h3 { font-size: 18pt; font-family: Lato; color: var(--now-color--text-primary, black); } h4 { font-size: 14pt; font-family: Lato; color: var(--now-color--text-primary, black); } a { font-size: 12pt; font-family: Lato; color: var(--now-color--link-primary, #00718F); } a:hover { font-size: 12pt; color: var(--now-color--link-primary, #024F69); } a:target { font-size: 12pt; color: var(--now-color--link-primary, #032D42); } a:visited { font-size: 12pt; color: var(--now-color--link-primary, #00718f); } ul { font-size: 12pt; font-family: Lato; } li { font-size: 12pt; font-family: Lato; } img { display: ; max-width: ; width: ; height: ; } } シナリオの例としては、[cmdb_ci_computer_room] テーブルに新しいフィールドを作成する場合などが挙げられます。このエラーは、CI コンピューターによって継承された CI ハードウェア上の識別子エントリを基準属性に対して無効にするとトリガーされます。システムでは、その基準値を使用してテーブルレコードを識別できなくなります。識別子エントリを有効にすると、システムは基準属性に基づいて参照レコードを識別できます。変換ユーティリティに関する参照ドキュメント:https://developer.servicenow.com/app.do#!/api_doc?v=kingston&id=r_CMDBTransformUtil-identifyAndReconcile_Object_Object_Object変換スクリプトを無効にすると、IRE を経由しないため、エラーは生成されません。その場合、参照フィールドをどのように処理するかは、フィールドマッピングの構成方法に基づいています。参照: https://docs.servicenow.com/csh?topicname=t_CreatingAFieldMap.html&version=latest Resolution<!-- /*NS Branding Styles*/ --> .ns-kb-css-body-editor-container { p { font-size: 12pt; font-family: Lato; color: var(--now-color--text-primary, #000000); } span { font-size: 12pt; font-family: Lato; color: var(--now-color--text-primary, #000000); } h2 { font-size: 24pt; font-family: Lato; color: var(--now-color--text-primary, black); } h3 { font-size: 18pt; font-family: Lato; color: var(--now-color--text-primary, black); } h4 { font-size: 14pt; font-family: Lato; color: var(--now-color--text-primary, black); } a { font-size: 12pt; font-family: Lato; color: var(--now-color--link-primary, #00718F); } a:hover { font-size: 12pt; color: var(--now-color--link-primary, #024F69); } a:target { font-size: 12pt; color: var(--now-color--link-primary, #032D42); } a:visited { font-size: 12pt; color: var(--now-color--link-primary, #00718f); } ul { font-size: 12pt; font-family: Lato; } li { font-size: 12pt; font-family: Lato; } img { display: ; max-width: ; width: ; height: ; } } スクリプトを使用して参照先 CI を検索し、それを参照フィールドに設定します。これは、変換マップの onAfter スクリプトを使用して、以下の手順に従って実行できます。 参照フィールドが識別子ではないことを示すエラーをスローしないように、変換マップで参照フィールドをマップ CMDBTransformUtil が示さないようにしてください。CMDBTransformUtil を呼び出す onBefore スクリプトで、IRE によって挿入/更新されたレコードのsys_idがキャプチャされるように次の変更を行います。target.sys_id = cmdbUtil.getOutputRecordSysId(); // add this line in the else block of if(cmdbUtil.hasError()) conditionlog.info('IE Output Payload: ' + cmdbUtil.getOutputPayload()); // this line is already there以下のコードを使用して、新しい「onAfter」変換スクリプトを作成します。これは、 CMDBTransformUtil が挿入/更新するレコードを識別した後に実行する必要があります。 このスクリプトは、参照された CI を検索し、それを参照フィールドに設定する必要があります。 (function runTransformScript(source, map, log, target /*undefined onStart*/ ) { //find the referenced CI based on the attributes we know //In this case we have the name of the referenced CI in the source //If the source has more fields on the referenced CI we can add them to the query so that //we can get the matching CI var gr = new GlideRecord('cmdb_ci_computer'); gr.addQuery('name', source.getValue('u_test_computer')); gr.query(); if (gr.next()) { var referencedSysId = gr.getValue('sys_id'); var targetSysId = target.getValue('sys_id'); //update the target with the reference var gr2 = new GlideRecord(target.getTableName()); if (gr2.get(targetSysId)) { gr2.setValue('u_test_computer', referencedSysId); gr2.update(); } }})(source, map, log, target);