How to update user fields in User table for a particular user.
How to update user details of user table(sys_user) from client scripting by passing sys_id of user table.
How to update user details of user table(sys_user) from client scripting by passing sys_id of user table.
Hi All,I have this client script which is required to populate the comments field of the incident form based on a dropdown selection by the user.However, i am unable to get the value as the system is retrieving the label of the sys_choice instead.u_m...
I have a particular set of email notifications that builds their body based on the event.parm1 passed in. This string passed in contained newlines "\n" and in Fuji these were automatically converted to <br> so when the email sent it retained the ne...
So, in Eureka, this code works fine:function close_and_reopen_UI_Page(){ // Close this current pop-up UI page GlideDialogWindow.get().destroy(); // Re-open this UI pop-up page again, but now showing updated info var dia...
I added a Service Desk Chat button that's linked to <instance>$chat_support.do?queueID=<sys_id>. When I click on the link it opens the Service Desk Chat in a new tab window. I would like for the chat to display as a pop-up on the current screen.
I have created a table with 15 string fields of length 4000 (SQL type has become MEDIUMTEXT, as expected). As long as no more than 10 of the string fields contain large amounts of data, all goes well, to a certain extend even regardless of how much d...
Good morning,So basically I'm trying to setup a workflow, where in the order guide, I have a function to allow a user to add multiple "items" to one RITM. I then need each "item" to spawn a task. Is there an easy way to do this, kind of like making e...
SNC Community,How would you best go about attaining this functionality?I have been thinking about a few different ways to deliver this requirement but I wanted to see if anyone else had any design ideas before I went ahead and got started here. I was...
Hi - I'm attempting to write a query that only returns results when a field of type Date (called u_date_worked) contains a value in the current week.This is what I'm trying, which results in an "undefined" error. var rs = new GlideAggregate("ta...
I'd like to get some verification that operators 'contains' or 'starts with' do not work for Reference Fields. I am trying to get a simple String field to show/hide based on UI Policy and the Reference fields used in the condition are not causing t...
I'm creating a custom dialog, essentially following this article:Displaying a Custom Dialog - ServiceNow Wiki What I need to be able to do though, is pass some HTML code in via a variable and then display it, not as a string (e.g. <h1>Test</h1>) but ...
I'm building a fairly simple REST app for ServiceNow. Using the REST API Explorer (great tool!) and some examples on here I've been able to connect and raise Incident records with all the field information I need.The only thing I can't seem to wrap m...
Hello,Please excuse me, but I am a beginner at JavaScript and I am using other code examples but do not fully understand the code. I am trying to "copy" an Incident record and include "all" the Affected CI's (related list items) and a Impacted Cust...
I am familiar with using it in reference to the current user using either g_user or gs but I am wanting to use it inside of an addQuery against my user table. Basically the goal is to walk through each user and determine if they have a role (and if t...
I m adding hyperlink like the below one which i was told that while giving like this, service now will take host name by default and attach the link... I copied it from another working link and tried to replicate in my scenario but since i dont kno...
User | Count |
---|---|
141 | |
101 | |
99 | |
48 | |
27 |