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

Forum Posts

Resolved! Create a request from New call

i have done some research and have found out that New call uses "CallTypeChanged to Request" Business rule to pass some variables to the request form. I would like to pass okthe short description from new call to the request. i have tried to add the ...

carlosromero by Giga Contributor
  • 2515 Views
  • 6 replies
  • 1 helpfuls

Resolved! Fulfiller Mandatory Questions in Catalog Item

I have a catalog item and there are 3 variables which will be visible and mandatory after the submit of the request. The person who is going to work on the task, has to fill the values in it .I m using the below script on load and made it as "Applies...

Scripted REST API POST how to retrieve the response?

Goodmorning,I've created a scripted REST API with a post function to let a third party create a kind of incident, I whould like to log messages (inbound and outbound) into a custom table so I need to retrieve the response that we send to the third pa...

lucap_ by Mega Sage
  • 5956 Views
  • 5 replies
  • 0 helpfuls

Resolved! Copying across field values in a Template

I've created a Template that I assumed would copy across a field value from a referenced table using the simple ${u_order_number.number} method but simply inserts '${u_order_number.number}' rather than the value. Is there a way to get field values on...

Resolved! Reference field Not populating

Hi All,We have a reference field on our incident form to select a parent incident.   When we select the magnifying glass it brings back a list of records as expected, however if you select a number it does not populate it in the field.   Also if you ...

find_real_file.png find_real_file.png
Sam Ogden by Tera Guru
  • 2425 Views
  • 3 replies
  • 0 helpfuls

Resolved! How to update RITM in workflow scripts

Hi all,I would like to use Run Script activity in Workflow for updating RITM field based on some script logic. I'm using current.update(), but when I validate or publish workflow, I got following warning:ValidateScriptForCurrentDotUpdateThis workflow...

Resolved! Hide "New" button from List based on Module name

Hi,I would like to hide "New" button from "All" list based on the Module Name.For exaample, if the module name is "My Incidents",   it will show all my incidents with "New" button as list view by clicking on it.But, this New button should not be disp...

varadharaj_a by Kilo Contributor
  • 3967 Views
  • 8 replies
  • 2 helpfuls

Resolved! ACL in CMDB

Hello,I want restrict the write   and delete access for cmdb_ci table.I want to provide write   access only for when the user have cmdb_owner role or member of the assignment group of CI or assign_to of CI.How can it achieved?Can some one show a samp...

salu by Mega Guru
  • 3182 Views
  • 6 replies
  • 5 helpfuls

Resolved! Populate User Data from SAP

Hi,We're configuring a new ServiceNow instance and looking at ways to populate the user table. We're currently looking through how consistent the data is in our AD and SAP environment, it's a possibility that the SAP environment is more up to date so...

chrisp83 by Kilo Expert
  • 2828 Views
  • 5 replies
  • 1 helpfuls

Send a SOAP request using WSS Authentication

Hello everybody, I want to send a SOAP request from ServiceNow to another server. What i usually do for these tasks is to use the XMLHttpRequest Object. Nevertheless, this object is not defined in ServiceNow, so it seems i need to use the SOAPMessage...

Resolved! Related list field populated on a form field

I have this impacted services related list in my incident form.I want the "managed by" field which is a reference field of user table to be populated to a custom field in my INC form. Kindly help me toachieve this. Developer Community bawiskarThanks ...

find_real_file.png
Abinash by Kilo Contributor
  • 6701 Views
  • 27 replies
  • 1 helpfuls

Resolved! Applying theme to all users

Hello all,I created a new theme for our environment in UI16 Istanbul. I found a great article explaining "how to apply to all users", which was editing Company and including the new theme.The problem is that we have 242,653 users so it seems the them...

gnunez by Kilo Guru
  • 3401 Views
  • 8 replies
  • 0 helpfuls

g_scratchpad not working on UI Pages

So I am using a business rule on the sys_ui_page table triggered on display.   I even tried removing all filter conditions and still get the following in my client script:Uncaught ReferenceError: g_scratchpad is not definedAny idea why this would be ...

How to pass jelly variables between dynamic blocks

I am in the process of updating some of our CMS pages, and I am using dynamic blocks as the core of this work.I am using the following line to call other dynamic blocks into parent blocks: <g:content_block type="content_block_programmatic" id="[dynam...