クローン後のクリーンアップスクリプトを TARGET インスタンスに強制実施Summary<!-- /*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: ; } } 何らかの理由でクローン後のクリーンアップスクリプトがクローン後のターゲットインスタンスで実行されなかった場合は、以下のスクリプトを使用して強制的に実行してください。 これにより、 clone_cleanup_script テーブルに基づいてスケジュール済みジョブが作成されます。 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: ; } } Instructions<!-- /*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: ; } } ターゲットインスタンスで [バックグラウンド>スクリプト に移動します。実行する前に、次のスクリプトをコピー + ペーストし、[バックグラウンドスクリプト] フォームに次の設定があることを確認します。 スコープ ==> グローバルロールバック用に記録しますか?==> オフサンドボックスで実行しますか?==> オフ4 時間後にキャンセルしますか?==> オフ var logCleanupJobs = ""; var cleanupGr = new GlideRecord("clone_cleanup_script"); cleanupGr.query(); while (cleanupGr.next()) { var schedule = new ScheduleOnce(); schedule.setLabel(cleanupGr.name); schedule.setAsSeconds(60); schedule.script = "gs.log(\"To run schedule job: " + cleanupGr.name + "\", \"New Clone Engine\");" + cleanupGr.script; schedule.schedule(); logCleanupJobs += "scheduled: " + cleanupGr.name + "; "; } gs.print("%%logCleanupJobs%%"); gs.print(logCleanupJobs); gs.print("%%");