Answers

Answer

script include

Go to "System Definition" > "Script Includes" in ServiceNow. Click on "New" to create a new Script Include. Copy and paste the above code into the Script field. Save the Script Include. // Name: UserAverageResolutionTimeCalculator // Table: Incident  var UserAverageResolutionTimeCalculator = Class.create(); UserAverageResolutionTimeCalculator.prototype = {    initialize: function() {   },    // Function to calculate average resolution […]

Script Include

Go to "System Definition" > "Script Includes" in ServiceNow. Click on "New" to create a new Script Include. Copy and paste the above code into the Script field. Save the Script Include. Script Include to Calculate the average resolution time for incidents by category // Name: IncidentResolutionTimeCalculator // Table: Incident  var IncidentResolutionTimeCalculator = Class.create(); IncidentResolutionTimeCalculator.prototype […]

How to Change topics order in Virtual Agent "See All Topics" ?

Hi Below is the OOB Greeting and I did the duplicate, Modified the highlighted area with my own messages Custom Greeting topic: And Did the Test from designer Itself looks as expected like below However from the SP Portal and ESC portal throwing error like I have a technical issue please try later Please suggest […]

Client script

function onChange(control, oldValue, newValue, isLoading) { var getLocation=g_form.getReference('caller_id', LocationData); }  function LocationData(getLocation) { // reference is passed into callback as first arguments  g_form.setValue("location",getLocation.location); }

Scroll to top