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

Forum Posts

Resolved! How to populate RITM variables value in Catalog task variables

Hello there ,  We have a catalog item with 2 Variables Variable1 will be displayed on the form and Variable 2 is hidden but available on catalog task  when the request is raised the variable1 value  entered by the user should be populate in the  vari...

RudhraKAM by Tera Guru
  • 4471 Views
  • 17 replies
  • 1 helpfuls

Resolved! What is Script Background - 'sys.scripts' ?

Hi,   We all know what is the use of Scripts Background but can anyone please help how it is designed at the backend ?   When i see the module of Scripts - Background i see it is linked as URL and in the Argument it is mentioned as sys.scripts.do   c...

Getting undefined when accessing a value in JSON String

I have the following JSON object:   gs.info('incitems is:'+data.incitems); // outputs : [object Object],[object Object]var str = JSON.stringify(data.incitems);  //  outputs : [{"title":"Refer a Candidate"},{"title":"Search Jobs"}] I need to get the v...

dheeraaj by Giga Expert
  • 9259 Views
  • 4 replies
  • 0 helpfuls

Resolved! How to add help-text to checkbox variable

Hi, I need help to add help text to check box type variable. Help text contain the url of another catalog item. I tried with onLoad catalog client script but it didn't work as expected. function onLoad() { //Type appropriate comment here, and begin s...

find_real_file.png

Service Portal To-Do Menu Item Scripted List

Our team is looking to develop a Header Menu Item that's similar to the Approvals menu item in the SP Header Menu seen on /sp: Instead of Approvals, we'd like to do the same exact thing for To-Dos.  We've copied over the Scripted List for Approvals ...

find_real_file.png
yundlu316 by Kilo Guru
  • 4238 Views
  • 1 replies
  • 6 helpfuls

Resolved! Inbound Action: updating incident

I've gone through (I think) ALL of the docs and community posts about this, but for some reason this is not working for me.  This is a "New" inbound action (no watermarks) An email is sent (no watermark) with the Incident number to update in the body...

kemmy1 by Tera Guru
  • 3431 Views
  • 6 replies
  • 2 helpfuls

Resolved! Wait for Event in WF

I'm trying to execute the items of an order guide in a specific order.  I found this post:  https://community.servicenow.com/community?id=community_question&sys_id=76369129db9aaf004abd5583ca961911 in which Chuck mentions a way to do this.  I have mos...

stevenm by Kilo Guru
  • 3566 Views
  • 8 replies
  • 0 helpfuls

Parse CSV attachment and insert data into staging table

Hello All, I have a case where user uploads multiple .csv files into table and I need to parse the .csv files and add the data into staging table. After that transform map runs and adds data into actual table. Can someone let me know how can I parse ...

Nancy19 by Giga Contributor
  • 4476 Views
  • 6 replies
  • 1 helpfuls

Resolved! Multi-line variable set and order guides

I am trying to copy/pass/whatever the values in a multi-line variable set from the main order guide page to the successive catalog items.  The situation is that a manager is going to enter one or more new employees who all will have access to one mor...

stevenm by Kilo Guru
  • 2021 Views
  • 2 replies
  • 2 helpfuls

Resolved! atf and approval step

I have a record with a workflow with property condition "run the workflow always". I have my atf steps to create and submit my form. 1) Should the workflow start? or do i have to start it within atf? i have atf step after submit to query sysapproval_...

ggg by Giga Guru
  • 2835 Views
  • 7 replies
  • 2 helpfuls

Hi All, Does anyone know what is the table where we can get the list of 'Personal Notifications'? Please see attached image. I need to know the notification records and their conditions and for that I want to find the list of personal notifications w

Hi All, Does anyone know what is the table where we can get the list of 'Personal Notifications'? Please see attached image. I need to know the notification records and their conditions and for that I want to find the list of personal notifications w...

Resolved! How to pass multiple values from client script to script include

Hi, I am not able to pass multiple values from script include to client script. Can anyone please help me out on below code? REF:: Client Script: var gr = new GlideAjax('ChangeState'); gr.addParam('sysparm_name','stateFieldValue'); gr.addParam('sys...

Hari1 by Mega Sage
  • 2755 Views
  • 2 replies
  • 1 helpfuls