The CreatorCon Call for Content is officially open! Get started here.

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

Forum Posts

Array returns "undefined".

Attempting to retrieve a list of CI's but the second Glide query returns undefined, what am I missing?   var appsArr = []; var gr2 = new GlideRecord('task_ci'); gr2.addQuery('task', current.sys_id); gr2.query(); while(gr2.next()){ appsArr.push(gr2....

Resolved! How Do You Nest Containers in Portal Layout

Trying to figure out how to nest the container widgets in the Service Portal. In example below, I have a 3/9 container. Want the 3 to be a long sidebar. Then I want to nest containers in the 9 section so I can added HTML headers (or a custom widget) ...

find_real_file.png
kshaw by Giga Guru
  • 2147 Views
  • 1 replies
  • 0 helpfuls

Resolved! Dependent value not working correctly?

Hi team, In incident form I am having a "category" field as reference type .So based an category the "subcategory 1" and "sub category 2" will select. But when I click the "category" value I am not able to see the "subcategory 1" and "sub category 2"...

Gokulraj1 by Kilo Contributor
  • 2606 Views
  • 9 replies
  • 4 helpfuls

How to get binary data of attachment?

Hi all, There is a sample coding which is from service now document. var attachment_sys_id = 'bacd7034dbeaa3403aff6a4948964f28';attachmentStream = new GlideSysAttachmentInputStream(attachment_sys_id); However, attachmentStream is just something like ...

Concur to ServiceNow integration

Hello Community, I want integrate Concur, an expense management system with the ServiceNow. Did any one here work on this? If yes, please provide me the steps or the link to achieve this integration. Thanks in advance.

Processor script in Scripted rest api

Hi All, I have a requirement where i need to download attachment from snow to local device using REST/SOAP.I found following link for the same and it is working absolutely fine. https://www.servicenowguru.com/scripting/download-attachments-zip-file/ ...

Rj27 by Mega Guru
  • 2353 Views
  • 2 replies
  • 2 helpfuls

Unique Key violation detected by database ((conn=999850) Duplicate entry '781b08101b739450c91421b4bd4bcb90' for key 'PRIMARY')

We have a Business Rule that creates an Incident from a New Call. When it runs, it gives the following error message, but continue to create the incident as expected: "Unique Key violation detected by database ((conn=999850) Duplicate entry '781b0810...

Resolved! Write ACL not working

I've created a write ACL specific to a field on a table that is not working.  I've created and added a new role that is specific for this ACL. The field type is a reference.  What further steps should I take to ensure that this works?

johannaS by Tera Expert
  • 2241 Views
  • 9 replies
  • 0 helpfuls

select random user from group

i want to select random user from a hard coded group, pls find below logic and suggest. if it goes inside if it should consider approverList , if it goes else condition it should consider hard coded group and it should send approve randomly for any o...

Deepthi13 by Tera Expert
  • 1671 Views
  • 15 replies
  • 0 helpfuls

bold font in business rule

team, i am tryin bold font to come in business rule by using below script please suggest what i am missing here (function executeRule(current, previous /*null when async*/) { var retString = '';retString += '<p><strong style="font-weight:bold">Please...

find_real_file.png
Deepthi13 by Tera Expert
  • 1580 Views
  • 6 replies
  • 0 helpfuls

Resolved! check box with hyperlink

HI All, below is my requirement Asset Undertaking – For service request raised under Hardware category, there should be a checkbox with text stating ‘I have read and agree with Do’s and Don’ts for asset undertaking’. The Do’s and Don’ts should be hyp...

Resolved! Angular drag & drop with HTML5 For Service Portal?

I was wondering if anyone has got the Angular drag & drop to work for the service portal? I am trying to replicate a widget that is similar to this. The problem I am running into is that I have no idea how to import and call the custom angular librar...

JDX7913 by Tera Guru
  • 3736 Views
  • 5 replies
  • 0 helpfuls