ServiceNow AI Platform forum
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Forum Posts

Copy attachment from sys_attachment

Hello, I have a lot attachment on sys_attachment that I would copy on different KB Articles.I made an On after script on my Transform who import the articles. But it doesn't work.When I tried between two articles from kb_knowledge, it's works fine.Do...

didierl by Giga Contributor
  • 4828 Views
  • 2 replies
  • 0 helpfuls

Users name to display in Short Description

Hello,We have it set up so that a user can request a piece of hardware / software in ServiceNow Self-Service.When they request this hardware / software, it is sent to their manager for approval and a call will be logged on out side stating 'Hardware ...

find_real_file.png
johny0555 by Kilo Contributor
  • 1583 Views
  • 9 replies
  • 1 helpfuls

Resolved! Show and require variable in TASK, hide in catalog

When the customer is submitting their catalog request item, I don't want one of the variables to display, so in the onLoad script I do this:   g_form.setDisplay('STT_Opera_opsTransitionLead', false);  When the first task is created from the workflow...

grosch by Mega Expert
  • 7863 Views
  • 9 replies
  • 6 helpfuls

Resolved! Adding custom fields to Contextual Search

I'm on Geneva and I'm using contextual search on the hr_case table and would like to add a custom field to the contextual search as an additional filter along with short_description. I have a matching custom field on the kb_knowledge table to search ...

forward by Giga Expert
  • 2357 Views
  • 3 replies
  • 1 helpfuls

Resolved! Add requested for to service catalog

My client is wanting to add the Requested For (requested_for) field to some catalog items. I know how to add the reference field to the user record and populate the default value with the current user. What I am having some trouble with is then getti...

Order Status_ REQ0016234 _ WESCODEV - ServiceNOW_06-03.png
will_smith by Mega Guru
  • 4962 Views
  • 18 replies
  • 0 helpfuls

Resolved! Empty values for macro in variable editor

Hi,I have created a UI macro, having an input field, which I am using in a variable in record producer.After submitting the item, and checking record created. The variable editor have empty values in those input fields.How should I bring the data ent...

Replace approver in workflow

Hi,I want to change approver in workflow. There might be many workflows where I have to make changes.So please can anyone tell how to do this in efficient way.Thanks in advance.Nikhil Peshwe

peshwen by Giga Contributor
  • 2971 Views
  • 7 replies
  • 3 helpfuls

Showing related RITMs in a related list on a RITM

I'd like to create a related list on a RITM that is similar to the Requested Item->Request list that is present on the Request records:How can I get this same list to show on a RITM so a technician working a RITM can see other related RITMs that are ...

find_real_file.png find_real_file.png
robduca by Giga Contributor
  • 2348 Views
  • 6 replies
  • 3 helpfuls

Delete multiple records from a Table

Is there a direct function to clean up entire table from script. Something simillar to Truncate table in Oracle.also what is the difference between deleteRecord and deleteMultiple?? Which one is faster and efficient.-Amit

User150433 by Tera Guru
  • 5462 Views
  • 7 replies
  • 8 helpfuls

Resolved! Access request item variables through client script

function onChange(control, oldValue, newValue, isLoading) {if (isLoading) {   return;}var Emp = new GlideRecord('sc_req_item');Emp.addQuery('sys_id', newValue);Emp.query();while(Emp.next()) {   g_form.setValue('u_first_name', Emp.variables.u_first_na...

manredd by Kilo Expert
  • 6330 Views
  • 14 replies
  • 4 helpfuls