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

Forum Posts

Resolved! gliderecord query ignoring addQuery

<?xml version="1.0" encoding="utf-8" ?><j:jelly trim="false" xmlns:j="jelly:core" xmlns:g="glide" xmlns:j2="null" xmlns:g2="null">     <g:evaluate>             var bcc = new GlideRecord('u_bcp_site_departments');             bcc.addQuery('sillyWilly'...

xiaix by Tera Guru
  • 4106 Views
  • 24 replies
  • 7 helpfuls

Update Sets or Applications?

Do I capture my work in an Update Set or an Application now?Because honestly, I have no idea which to pick anymore. I've been using ServiceNow since Berlin. Back then the choice was simple because there was no choice, you captured your work in update...

Resolved! JSON parsing problem

I'm having a problem with parsing the result of a web service.   the variable "result" is defined earlier in the code.   If i remove the two lines about parsing then everything works, except I can't get the data I need out of the response.   Here is ...

Resolved! Email Client button on the incident form

Hi All,in incident form, an email client button was there to send the emails from the incident form itself. But, if we are clicking on that button the form address is defaulted to the system email address like abc@servicenow.com. So, how can i add wh...

Resolved! Starting workflow from Script

Hi Everyone,I've been banging my head trying to get this to work.   I have a workflow that I have configured to return a value as the workflow.result.   I'm starting the workflow from a script using the startFlow method.   How can I have the script w...

bernard6 by Mega Expert
  • 5004 Views
  • 7 replies
  • 1 helpfuls

Link in the table column

Hi All,                   I have a requirement to have a column in the table which should be of type link/button and that link/button will be linked to store few data in another table.Below shown table is my "Training" table in that I need to have a ...

Untitled.png
sowmyaj by Giga Expert
  • 3163 Views
  • 3 replies
  • 1 helpfuls

Resolved! ACL for SC_task access...

Hi,I've created a new workflow for a business area and want to send them catalog tasks to perform some work...I don't want them to have the access provided by the ITIL role out of the box but I do want them to have access to the sc_task table to view...

Role query.PNG Role queryv2.PNG

Assigning value to a field based on another table?

Hi,I'm battling with this business rule and would appreciate your assistance. New to scripting world!We have a requirement to assign value to a field based on another table. Let me explain you clearly........... We have 2 tables sys_user table (base ...

Nani6 by Mega Guru
  • 2972 Views
  • 4 replies
  • 4 helpfuls

Resolved! UI Macro/g:evaluate help

Hi all,I'm trying something new (for me). I've got a UI Macro that I'm modifying.I've added the following g:evaluate tag:<g:evalute var="cart_count" object="true">var cart_count = new GlideAggregate('sc_cart_item');cart_count.addAggregate('SUM','quan...

Adding a column to Pivot table report

Hi,I have created a Pivot table report on a task_survey_detail table and aggregated by Average .The 3 columns displayed on the report are   Item, Question and Average.Ho do   I add another column to display the Number of surveys taken in each Categor...

maryc by Tera Contributor
  • 1240 Views
  • 1 replies
  • 0 helpfuls

Resolved! How do you disable a CSS include on a custom UI Page

I have a custom UI page I have created and I have my own CSS I want to use for his page but this css... <link type="text/css" href="/styles/css_includes.cssx?v=06-17-2014_1527&amp;c=04-24-2013_15:52:34_19330a326856e5006b96a676065a03d3&amp;theme=" rel...

Resolved! How to refresh a UI page after deleting a record?

Hi All,I have a UI page, in which I have written code to display he list of records from a table. I created a "delete" button next to every record.The code is shown below:HTML:<button style="width:95%; color:#1E90FF;" type="Submit" onClick="deleteFun...

jenny32 by Tera Guru
  • 10772 Views
  • 12 replies
  • 5 helpfuls