私はインシデントテーブルに「u_custom_long_description」というカスタムフィールドを持っています。UIポリシーでは、インシデント終了時にフィールドが空であるかどうかをチェックするスクリプトを作成しました。Servicenowスクリプトの新バージョン
function onCondition() {
if(current.u_custom_long_description == null){
alert('Please provide the description for the close comments');
}
}
と私はあなたがサーバ側の変数current
が存在しないクライアント側のスクリプトである事件
onChange script error: ReferenceError: current is not defined function (){var o=i(m,arguments);return l.apply(n,o)}