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

Forum Posts

Resolved! Inline Script in Flow Designer not working

I am trying to use the Inline Script in Flow Designer. I am trying to create an hr_case record with Create Record action and set the value of its Category field with inline script. Below is the screenshot and the code /* **Access Flow/Action data us...

find_real_file.png
Sattyaki1 by Tera Expert
  • 8221 Views
  • 15 replies
  • 1 helpfuls

Enable filter for Data table from instance definition

I have created a new page where I have added a widget called Data Table from Instance Definition. I am able to add fields and hard code a filter in the instance with table option but there is no way to enable the filter to be editable by the user. Ho...

find_real_file.png
Khanna Ji by Tera Guru
  • 2122 Views
  • 2 replies
  • 0 helpfuls

query on Task table

below query returns 50 records order by priority  var tsk= new GlideRecord('task');tsk.chooseWindow(0, 50);tsk.orderBy('priority');tsk.query();while(tsk.next()){ gs.log(tsk.priority + " - " + tsk.short_description);}   below query should return first...

MO26 by Kilo Explorer
  • 1950 Views
  • 4 replies
  • 0 helpfuls

Background scrip to bulk update Knowledge base for articles

Hi All, I have created below background script to update the knowledge base for all articles from a certain knowledge base to a new KB . After running this script knowledge base is not getting updated . Please suggest if I am missing something. var T...

Mrman by Tera Guru
  • 2164 Views
  • 4 replies
  • 0 helpfuls

Resolved! Need to move workflow to next activity

I have a timer activity on an RITM workflow that was incorrectly set.   How can I "finish" this timer activity and have the workflow move onto the next item?I need it to move onto the Catalog Task, "Remove the VM".I went into the "Workflow Executing ...

find_real_file.png
xiaix by Tera Guru
  • 2793 Views
  • 3 replies
  • 2 helpfuls

Bold text

Hi I have created a Multi Line Text Variable under a Service Catalog Item. Does anyone know how I can get some of the text in the Default Value to be bold?  I would like the Default Value to look like this; This text is not bold. This text is bold. ...

find_real_file.png

Resolved! Database View with calculated value columns

Hi All,  I did inner join 2 tables and created a database view. Table A has a calculated description field whose values are displayed in table A list view. But in the DB view that column is not populating any values. Is this expected behavior with DB...

Resolved! Multi Row Variable Set Sorting

I have a requirement to sort the contents of a Multi-Row Variable Set by a specific column. I didn't happen to see an order on the 'sc_multi_row_question_answer' table. I'm weary of attempting to update the "row_index" field as I'm not sure of the wa...

patbishop by Mega Guru
  • 2714 Views
  • 4 replies
  • 0 helpfuls

Resolved! Parse JSON object in UI Page

Hello, I've been searching all day how can I parse a JSON object in a UI page. However none of the solutions I've found worked for me. The case is the following: 1) I have a UI action that opens a modal. In the script I am calling a GlideAjax to Scri...

Resolved! How to stop a Before-Query Business Rule running on child tables

I have a before-query business rule that runs on the IT Service table. However, since Service Component is a child table of the IT Service table it is running on Service Component as well and subsequently blocks all the data since the query in the BR...

oacp by Kilo Contributor
  • 5738 Views
  • 13 replies
  • 3 helpfuls

Resolved! REST Client for ServiceNow's TableAPI for GET call in C#

 Hello there,  Working with the Web Developer in integrating our ServiceNow platform with there WebApp. As part of the development, we need a batch job that would query a list of records from the ServiceNow table and update curtains values in there W...