How can I retrieve the total number of incidents categorized by state in ServiceNow
Nice one. Great Job!!
Answer
Nice one. Great Job!!
To achieve your goal of making an attachment mandatory in a UI Action and updating the state only if an attachment is present, you can follow these steps: 1. Modify the Existing UI Action You need to enhance your existing UI Action to include logic that: Checks if an attachment is present. Updates the state […]
Great job, ControlF5! Your script demonstrates excellent use of GlideAjax and GlideRecord to fetch user data and populate fields. Keep up the fantastic work!
can you please let me know, how to hide the component if there is no data in ui builder?
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 […]
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 […]
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 […]
Hello Ram, Please share screenshot.
You can use XML to move changes from one instance to another.
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); }