Migration Tool Platform Analytics Issue

mah1
Kilo Sage

Zurich Patch 0

updated Platform Analytics and related plugins to the current versions

 

I opened the Migration Center and clicked on the Start moving button then clicked the Migrate button on the popup. I was taken to the screen that shows the status of the migration.  When the migration hits 100% i can see that the Activate button is enabled for a split second and the screen returns immediately to the home screen of the Migration Center (screen with the Start moving button). When I attempted this in the past (under Washington and Yokohama), I remained on the migration screen when the migration completed where I could view the results of the migration and compare migrated content with core ui content.

 

How do I get back to the migration results screen so that I can review the migrated content?

 

Thank you

1 REPLY 1

Chavan AP
Tera Guru
Proposed Customization: Automatic Indexing on KB Table Insert

When you open the UI Action: Index Selected Table/s, 

it has the UI Page invoked: ais_index_single_table
open ui page- "ais_index_single_table"

This UI page sets sys_id and datasource values, which are later accessed in the client-side script.

The script executed on this page is responsible for indexing a specific table, as shown below:

function index() {
  var table = gel('table').value;
  var gm = GlideModal.prototype.get('ais_index_single_table');
  var sysId = gm.getPreference('sys_id');
  var datasource = gm.getPreference('datasource');

  if (!table) {
    alert(new GwtMessage().getMessage("Please select a table to be indexed"));
    return false;
  }

  var ga = new GlideAjax('AisConfigurationAjax');
  ga.addParam('sysparm_name', 'indexSingleTableNoBlocking');
  ga.addParam('sysparm_ais_datasource', datasource);
  ga.addParam('sysparm_ais_table', table);
  ga.getXML(function(response) {
    var id = response.responseXML.documentElement.getAttribute("answer");
    if (id) {
      var url = '/ais_ingest_datasource_stats.do?sys_id=' + id;
      window.location = url;
    }
  });
}


Recommendation-  I recommend implementing either:
A Scheduled Job, or
A Business Rule (on insert) for the Knowledge Base (KB) table

This would automatically invoke the indexSingleTableNoBlocking method from the AisConfigurationAjax Script Include whenever a new KB record is inserted—eliminating the need for manual indexing via the UI.
Let me know if you'd like help drafting the business rule or schedule logic!
Chavan AP
[ Architect | Certified Professional]

Was this response helpful? If so, please mark it as Helpful and Accept as Solution to help others find answers.