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

Forum Posts

Table API query fields with UTF-8 characters

Hi ServiceNow community, Im struggling with what would look like a simple problem to solve. I'm creating a record with UTF-8 character included (example the curly quote ’). The record gets created fine but I'm unable to query it anymore.  Example: cu...

ponq by Kilo Contributor
  • 952 Views
  • 2 replies
  • 0 helpfuls

Instance scan failed

Hi, has anyone experienced this instance scan failure? and there are no checks done. Let me know if someone has experienced this and what is the solution.

find_real_file.png find_real_file.png
Tadz by Kilo Sage
  • 784 Views
  • 1 replies
  • 2 helpfuls

What is the best way to send a file via SFTP?

I have seen alot of articles about sending files via SFTP. I had high hopes for using the J2SSH library on my mid server, but I think that library is pretty outdated as it doesn't support the key exchange algorithm that the sFTP server requires. See ...

Jon Barnes by Kilo Sage
  • 3513 Views
  • 2 replies
  • 1 helpfuls

Resolved! Functions script include

Hi Guys, I have a query where I have two system properties for the Company Name. But the following code is not working, it works only for one property but not considering other one. Expectation is to get response based on the property value. Please s...

Praveen75 by Tera Contributor
  • 4066 Views
  • 4 replies
  • 2 helpfuls

Question on script for pop up window to create a new record

Hello,  So we followed the instructions found here  https://www.servicenowguru.com/system-ui/ui-macros/adding-referenced-records-leaving-form/ To create a button on sc_catalog_tasks to create a new time card. We wanted to allow the user to stay on th...

find_real_file.png
Nic Omaha by Tera Guru
  • 620 Views
  • 1 replies
  • 0 helpfuls

Resolved! How to locate the UI Policy which makes a field Mandatory

Hello I have a question about UI Policies. I have a field called "Configuration Item" which is located in the "Task" table and has the column name "cmdb_CI". In it's Dictionary Entry, the Mandatory check box is not checked however on the form the fie...

Rob Rhodes by Tera Contributor
  • 3125 Views
  • 5 replies
  • 5 helpfuls

Resolved! Questions about buttons in the record workspace

Greetings, people. Here are my questions: In a workspace, is it possible to make buttons appear/disappear based on the value of the "state" field? For example: When the "state" changes to "Work in progress", the button would appear. When the "state" ...

C_dric Chen by Tera Contributor
  • 1970 Views
  • 5 replies
  • 1 helpfuls

How to split array into even chunks?

I am seeking to split and array into even chunks of a specific size but having trouble on how to incorporate the .splice() method within my for loop  var consumerList = []; var cases = new GlideRecord("sn_customerservice_case"); cases.addQuery...

Marcus by Kilo Contributor
  • 1016 Views
  • 1 replies
  • 0 helpfuls

Caching mechanism in scripts

Hi All,   Is there any Cache mechanism available in scripts? I want to use Cache in Client Script and Script Include.   Thanks

Shankar19 by ServiceNow Employee
  • 2875 Views
  • 7 replies
  • 5 helpfuls

Getting Requestor ID in OAuth2 token request

Hi!I've been experimenting with an OAuth2 solution for outbound rest messages from servicenow.Our solution demands that the resource is specified in the token request when sent to the Auth provider. I've solved this by extending the OAuthClient as a ...

Pontus Sj__ by Tera Contributor
  • 1239 Views
  • 2 replies
  • 1 helpfuls

Resolved! Duplicate Approvals .... the ongoing dilemma

Yes, another question about duplicate approvals, but hoping there is still an answer for even these not so strange ones. I have a workflow script that generates approvals based on selections from a multirow variable set within the RITM.         Netwo...