THURSDAY, JANUARY 19, 2017

Category: Web Services

Scripted Web Services

One of ServiceNow’s principal strengths comes from its extensible framework. Built into the framework is the ability to retrieve information using one of a myriad of methods. If you want to get data out of any table, you can get it via direct web services, using basic auth data retrieval, having it pushed to a client, FTP server or  linux server by using the scheduled data extract, and more.  However, there are times when none of these solutions give you a logical way to achieve what you want in a simple manner.  I will give two examples: 1) adding an item to a cart, 2) fetching an attachment from a record.  For tasks such as these, the flexible Scripted Web Services is the answer.

Read more ...

Sending attachments to a 3rd-party service desk

L

ast week I wrote about how to send a file to Service-now via web services and attach it to a target record.  While that is the most common request for attachment handling in regards to an integration, I often hear requests for this to be bidirectional.  Sending attachments from Service-now to a third-party system isn’t something that we’ve actually implemented in the past.  However, with the number of people asking for it lately, I decided to write up a solution.

Read more ...

Sending an attachment to ServiceNow via Web Services

Attaching a file to a record within the ServiceNow interface is a trivial task.  However, many customers have found it necessary to send an attachment via web services to Service-now.  This need is usually spawned from an integration with a 3rd-party product.  The SOAP Attachments update set is the perfect solution for this problem.

The update set has now been added to the latest release of ServiceNow as part of the core code.  You will only need this update set if you’re on an older build.

Read more ...

Latest Comments

  • David: It appears that I can hit sys_properties table with REST. This works, but I haven’t yet discovered the...
  • Mark Stanger: Hey David, It doesn’t surprise me that scoped apps have made this more difficult. I’m not...
  • David: Mark, do you have an example of how to do this in a scoped app? It seems there are many hoops to jump through...
  • Mark Stanger: The only possibility is to create a system property to override this in your application. Check out the...