ServiceNow App Generate Role Catalog Items - not working

BarCar
Regular Contributor
Regular Contributor

The ServiceNow app contains a scheduled job called "SAVIYNT_IGA: Generate Role Catalog Items". When executed, this does nothing.

Digging into the code - it executes this:

 

var roleHelper = new x_saviy_iga.RoleHelper();
roleHelper.generateCatalogItems();

 

But that function is commented out in the referenced Script Include:

 

   this.logger.exitFunction();
  },

  // **********************************************************************************

/*	
  generateCatalogItems: function(forceReload) {
    this.generateEnterpriseCatalogItem(forceReload);
    this.generateRemoveEnterpriseCatalogItem(forceReload);
    this.generateApplicationRoleCatalogItem(forceReload);
    this.generateRemoveApplicationRoleCatalogItem(forceReload);
    this.generateFFCatalogItem(forceReload);
    this.generateRemoveFFCatalogItem(forceReload);
  },
*/

  // **********************************************************************************

  generateEnterpriseCatalogItem: function(forceReload) {

 

Is that intentional? How can I recreate these Catalog Items? The same issue exist for the "SAVIYNT_IGA: Generate Manage Account Catalog Item" job.

3 REPLIES 3

saikanumuri
Saviynt Employee
Saviynt Employee

Hi @BarCar 

Thanks for reaching out. I am checking on this internally and will get back to you ASAP.

BarCar
Regular Contributor
Regular Contributor

Any updates on this @saikanumuri ?

saikanumuri
Saviynt Employee
Saviynt Employee

Hi @BarCar ,

One way to achieve this is to go to the deleted records and Undelete them for those catalog items that cannot be regenerated using the job. 

saikanumuri_2-1695132742630.png

saikanumuri_3-1695132762049.png