Recalculate service UI action code .
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-21-2022 09:02 PM
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);
- Labels:
-
Service Mapping
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-21-2022 09:09 PM
Hi
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-22-2022 06:47 PM
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