Recalculate service UI action code .

Community Alums
Not applicable

Hi Team, 

Could you please let us know , how to see code logic in in Recalculate service UI action. 

var servicePopulatorRunner = new SNC.ServicePopulatorRunner('INTERACTIVE');
servicePopulatorRunner.run(current);

var uri = action.getGlideURI() + "";
if (uri.indexOf("_list.do") == -1) {
action.setRedirectURL(current);
}

 

 

How do I check below code logic, is it a script include ? or Macro or UI page.? I am not able to find it. 

var servicePopulatorRunner = new SNC.ServicePopulatorRunner('INTERACTIVE');
servicePopulatorRunner.run(current);

 

 

2 REPLIES 2

Maik Skoddow
Tera Patron
Tera Patron

Hi @chandrasingalasnow 

you will not find the code behind that method invocation as it is hidden. The indicator is the prefix "SNC.". In that case a Java Class is referenced which you cannot access.

Kind regards
Maik

Community Alums
Not applicable

Hi Maik,

Thanks for the reply, I think ServiceNow can tell us what is the logic and how it works?

If I want to modify the code, I should take help from ServiceNow?

 

Thanks & Regards

Chandra Singala