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

Forum Posts

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
  • 9040 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
  • 1973 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
  • 2609 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
  • 1837 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
  • 5286 Views
  • 9 replies
  • 2 helpfuls

How to hide dropdown options depending on condition

Hi all, I need to hide request state field options for non-admin users on conditions. If request state not 'approved', hide 'approved' and 'rejected'. If rrequest state is 'pending approval', hide 'close_complete'   Help needed with the scripting ple...

Dhanya4 by Tera Contributor
  • 9439 Views
  • 3 replies
  • 3 helpfuls