diff --git a/Packs/CommonScripts/Scripts/DeleteContext/DeleteContext.js b/Packs/CommonScripts/Scripts/DeleteContext/DeleteContext.js index 686026c3fda..651aa06f70b 100644 --- a/Packs/CommonScripts/Scripts/DeleteContext/DeleteContext.js +++ b/Packs/CommonScripts/Scripts/DeleteContext/DeleteContext.js @@ -18,6 +18,10 @@ function deleteKeys(keysToDelete = [], _keysToKeep = []) { var errors = [] var message = ''; for (var key of keysToDelete) { + // 'DBotScore' key shall not be deleted in order to prevent caching it repeatedly and impacting performance. + if (key === "DBotScore"){ + continue + } const originalKey = typeof key === "string" ? key.trim() : key; const keyToDelete = isSubPlaybookKey ? 'subplaybook-${currentPlaybookID}.' + originalKey: originalKey; const result = executeCommand('delContext', { key: keyToDelete });