Skip to main content

Posts

Recent posts

ServiceNow Error when copying flow: "Label cache error: Table not found"

ServiceNow Error when copying flow Label cache error: Table not found: x_cls_clear_skye_i_identity_settings: Label cache error: Table not found: x_cls_clear_skye_i_identity_settingswhen copying the promote profile subflowreproduceable on 5.2 and 3 KB1575415 - How To Remove Unnecessary Label Cache Entries of a Flow/Subflow/Action 11:43 Apparently, running the background script detailed in the SN KB should resolve the issue once happy, modify the fix script below to set debugmode to false --- Fix script: // README // This script updates and removes unnecessary label cache entries of a flow/subflow (defintion and master snapshot). // // IMPORTANT NOTES:  // This script only deletes the unnecessary label cache in the server. UI can hold a copy of a label cache. // Therefore refresh the browser that has the action opened once this script is executed for the action. // If this script is executed and the action is saved using UI, the previous label cache (before the delete) // will be sa...

ServiceNow Building a JSON array (using ServiceNow AI - Now Assist for Code)

ServiceNow Building a JSON array (using ServiceNow AI - Now Assist for Code) Below was mostly generated using Now Assist. The future is bright!    retrieveAPMs:   function (bDelta) {           var   APMs   = [];           var   responseObj = {             transaction_name:   this . CONSTANTS . APM_FULL_IMPORT ,             total_apms:   '' ,             apm_list: []         };             var   grAPM =   new   GlideRecord ( 'cmdb_ci_business_app' );         grAPM.addEncodedQuery( this .apmquery +   this .apmAdditionalquery);           ...