Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

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

Forum Posts

gs.isMobile() only works for admin?

So I got this odd response from ServiceNow support I thought I'd bounce off the community.  This is what I was told:"If gs.IsMobile() is always returning false, this is expected behavior from the mobile app, if you do not have admin role. Can you con...

jdiegeliv by Mega Expert
  • 2027 Views
  • 3 replies
  • 1 helpfuls

Resolved! Powershell ServiceNow API

What should i do with the {request.body ? "$body = \"" :""}}Because it show the errors when execute in Powershell script?Thanks,# Eg. User name="admin", Password="admin" for this code sample.$user = "admin"$pass = "admin"# Build auth header$base64Aut...

find_real_file.png
David Vu1 by Kilo Expert
  • 8863 Views
  • 8 replies
  • 7 helpfuls

How do you print a label using fields from from servicenow?

Hey guys, We're trying to create a Visitor app that has people register/check-in at the lobby. We want to start simple so we only have 5 fields that they fill out from an iPad at the reception desk. Once they click submit, we want a label to print ou...

ragren by Giga Contributor
  • 1952 Views
  • 1 replies
  • 1 helpfuls

Resolved! Help with for loop

Hi, I am writing a script, where it will have numbers something like this below var string = 69,110,103,108,101,119,111,111,100,67,111,108,111,114,97,100,111,56,48,49,49,50,85,83,65; SUM = 2236; Length of the above numbers are 25 If we divide sum wit...

Attachments in restricted scoped applications

Hi All, I've found that in a custom scoped application where a table is set to be accessible only from that scope, adding an attachment will generate this error on accessing the table record: Read operation against '...' from scope 'rhino.global' has...

tim2222 by Kilo Guru
  • 2573 Views
  • 4 replies
  • 0 helpfuls

I am getting below error while assigning survey

I am configuring survey for Incident. I updated the survey trigger condition, created the survey questioner. When I try to Assign Survey from View Survey. I am getting error "Instance could not be created". It works fine in another instance. I think ...

find_real_file.png

Resolved! HOw to stop UiAction script if date fieds is empty

Dear all, When I create a new change request, and I click on the UI Action button Request Approval, I would like to add in the button script the following statment : If Start and End Date are empty then I shouldd display a error message and abort the...

wakespirit by Kilo Guru
  • 1781 Views
  • 3 replies
  • 3 helpfuls

Resolved! Reference Qualifier for a related list

Hello,  I am trying to use a reference qualifier on a related list. The related list is pointing to a custom table, joined together by many-to-many table. I am trying to limit the results on the related list by ensuring that we have the same company ...

John Prahn by Kilo Contributor
  • 5207 Views
  • 9 replies
  • 2 helpfuls