Interested in a ServiceNow event built for developers? Registration for now[dev]26 is officially open!

Developer forum
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Forum Posts

Highlight the active/current (pressed) button html by default

Hi All, this is for Service Portal.I have 2 buttons Active and ClosedI want the Active button to be highlighted/selected by default on load, however when closed button is selected the highlight and focus should change to closed and active should go b...

babarat1 by Tera Contributor
  • 9950 Views
  • 3 replies
  • 0 helpfuls

Query Business rule not working

Hello All, I have a requirement that only the group members and opened by users must be able to view the ritm. But  br code is not working can you please help me here.  I have attached my code 

Resolved! 'Name' field in sys_user table

Hello all Does anyone know if there is some rule to make the' name' field read-only in sys_user table? I cannot find any ACL for this field. 

Erica_0-1670331241831.png
Erica by Tera Guru
  • 2867 Views
  • 2 replies
  • 2 helpfuls

UI Builder Create Record

Hi Everyone, I'm using ui builder create record operation. In my client script i have these: api.data.create_record_1.execute({ 'table': 'kb_social_qa_question', 'templateFields': templateFields, 'useSetDisplayValue' : false }); Somehow if i h...

Tadz by Kilo Sage
  • 3652 Views
  • 8 replies
  • 2 helpfuls

Resolved! Date value is returned as 1970

Hi Friends, I am trying to set the due date for a catalog item automatically based on the delivery time mentioned in the catalog item. But when I try to fetch the delivery time, it's giving me some random date.  var grScCatItem = new GlideRecord('sc_...

KhannaJi_0-1670295226154.png
Khanna Ji by Tera Guru
  • 2843 Views
  • 4 replies
  • 0 helpfuls

Metrics scripts

Hi, I'm trying to create a metric script calculation, what I want it to do is during a certain period (Saturday 00:00 --> Monday 04:00hrs) identify if any incident records were escalated from Assignment group-X to  Assignment group-Y (starting with c...

Need to add help text in variable

Hi Team, I have a variable set "Requested details" which we are using in all catalog item. I need to add help text in one of the variable using client script "requested for" which is under this variable set. Please help me with the client script so t...

Resolved! Delete duplicate entries from sys_history_line table

Hi All, I have performance issues in my instance as I am loading audit records(sys_history_line) while the record is being displayed in my Service Portal.I noticed that few of the my scripts had made enormous duplicate entries into the actual records...

Imran1 by Giga Guru
  • 2820 Views
  • 3 replies
  • 0 helpfuls

sp-editable-field usage

I'm new to Service Portal and Angular. The documentation around advanced features provided via the Service Portal are difficult to find documentation on. I'm mimicking the use of sp-editable-field from the User Profile widget. I have my widget loadin...

find_real_file.png
raprohaska by Kilo Guru
  • 9513 Views
  • 8 replies
  • 1 helpfuls

Resolved! One notification for multiple records

Hi experts We have a table in which a record is assigned to a user when it is created. The records are created automatically. When a new record is created, the user who is assigned to the record should be notified. This can be easily done with a flow...

Dominik9 by Mega Sage
  • 1902 Views
  • 3 replies
  • 0 helpfuls

Wait for Condition trigger by variable on one sctask

We have a workflow running on the sc_req_item table.  It has several task activities in the workflow, however we have a certain one that the user updates one variable(yes/no) on, we need the wait for condition to wait until that specific variable is ...

booher04 by Tera Guru
  • 1726 Views
  • 1 replies
  • 0 helpfuls

Resolved! Order Guide for standard users receive 404 page error

Hi, I have an issue where when our standard users who do not have ITIL, or any roles, try to access any order guide on our Service Portal they recieve a 404 page error. However, when someone with ITIL/Admin they are able to access without any issues....

Jacob23_0-1670262573834.png
Jacob23 by Mega Guru
  • 1609 Views
  • 5 replies
  • 1 helpfuls

Roles for scoped app

Morning Fellows I have a question, which I feel like I already know the solution but wanted to get opinions from our experts I created an extension from the change request and created a few new groups that will be utilizing this app I only want these...

Lydon by Mega Expert
  • 3659 Views
  • 7 replies
  • 2 helpfuls

Resolved! Get Email Attachment Name in Inbound Action

Hi all, I would like to get attachment file name in my inbound action which makes incident. Is it possible? * I think this is impossible... because inbound action is unable to get email attachment file name, and even if sys_attachment can be queried,...