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

Forum Posts

Resolved! Add new line with '\n' in email script is not working

Hello, I have an email script that looks up a user's info and then adds it to the end of an email notification. The lines of info should be separated by a new line, however, when I try to do this with \n it is not working. It just adds a space betwee...

JJG by Kilo Guru
  • 3486 Views
  • 1 replies
  • 2 helpfuls

Resolved! how to send values to rest message through BR

in reference to link: https://community.servicenow.com/community?id=community_question&sys_id=5ab3cd28dbafc4d0feb1a851ca96192d please refer as am stuck with:   How are you determining whether the rest call is working fine or not? it works when i just...

Resolved! Use 'greater than or equal to' to compare two date fields

Hello, I have a script include that searches a table. It should pull records if the 'pay_period_end' date field is greater than or equal to today's date. It doesn't seem to work, is there an error? It works when I remove my grPayPeriod.addQuery line....

JJG by Kilo Guru
  • 6231 Views
  • 6 replies
  • 4 helpfuls

Resolved! What is the "current" object in a catalog item?

I need to get the name of a catalog item into a script include from a reference qualifier. I was going to use the "current" object, but I can't figure out what type of record it is, and i need to know that in order to dot-walk.Help?

Community Alums by Community Alums  
  • 2996 Views
  • 9 replies
  • 2 helpfuls

sp-attachment-manager not showing attachments

Hello Experts, I have created a widget and included below code into that widget   <div> <!-- your widget template --> <sp-attachment-manager table="'kb_knowledge'" sys-id="xxx" omit-edit="true"></sp-attachment-manager> </div> added angular provid...

find_real_file.png
Community Alums by Community Alums  
  • 2036 Views
  • 1 replies
  • 0 helpfuls

Resolved! How can I impersonate someone (desktop) and then launch the new "Now Mobile" app to test UX for a users w/ no / different roles?

TL;DR: With the "Classic" app you can open a browser to your instance and just change the URL after ".com/" to ".com/$m.do" and hit Enter and it will redirect you to the mobile app experience. Is there a similar trick to this w/ the new Now Mobile ap...

apjohn2 by Mega Sage
  • 1781 Views
  • 8 replies
  • 0 helpfuls

Resolved! Insert time into Oracle SQL

I am currently using "Integration - JDBC" plugin to insert records into Oracle SQL. Everything works just fine except the date field. We can successfully insert date, but it can't have the time.Below is the sample code I have in our business rules:va...

Event Create Dates Issue GlideScheduleDateTime();

Hi Friends, Need your help, We are creating events from Script in My Calendars and passing start and end date with the help of API’s new GlideScheduleDateTime();. But we are facing some issue. Events are getting created but what time we are giving it...

basantsoni by Kilo Guru
  • 1189 Views
  • 1 replies
  • 0 helpfuls

Help with ng-if and server script

I have a list of items and each has an order. I have another variable that is set to the current record's order. I am trying to print all items that have been completed thus far. So for example:List:LabelOrderStep11Step22Step33Step44I query this tabl...

robhaas by Tera Contributor
  • 3929 Views
  • 6 replies
  • 0 helpfuls