ServiceNow actor adapter requests and responses

The adapter requests for the actor adapter uses a set of elements, operation-type and operation-name, in the adapter request node to execute an API call. The set of values used to make each API call is referred to as an operation.

You can use the information in this section with the Call Adapter Activity to create an adapter request. For detailed instructions about how to use the Call Adapter Activity, see Call Adapter activity and Creating and configuring the Call Adapter activity.

This section describes the adapter requests and responses for the ServiceNow actor adapter:

Before you write an adapter request

Remember the following points:

  • Special characters used in a text field are wrapped in the CDATA tag.

     Sample text: <![CDATA[sample(&*&$#$^text]]>
  • When executing a sample request from this documentation, you must ensure that the supporting data is present in the ServiceNow application.
  • If a large number of records is associated with the query, the execution of the request might take some time.
  • The ServiceNow application has imposed a limit of 250 records that can be retrieved at any time in a single query. Therefore, when writing a request, you must ensure that your query does not return more than 250 records.
  • A response can contain tags that may not be visible in the application.

The following table lists the process names and corresponding operations that can be performed by this adapter:

Actor adapter processes and their corresponding adapter operations

Type

Process name

Adapter operation

Change Management

Close Change

update-change

Create Change Using Import Set

create-change-using-import-set

Create Change

create-change

Delete Change

delete-change

 

Find Change

find-change

 

Update Change Using Import Set

update-change-using-import-set

 

Update Change

update-change

Import Set

Create Import Set Record

create-import-set-record

 Find Import Set Recordfind-import-set-record

Incident Management

Close Incident

update-incident

 

Create incident using import set

create-incident-using-import-set

 

Create an incident

create-incident

 

Delete an incident

delete-incident

 

Find an incident

find-incident

 

Update incident using import set

update-incident-using-import-set

 

Update an incident

update-incident

Task ManagementFind Taskfind-task
 Update Taskupdate-task
Was this page helpful? Yes No Submitting... Thank you

Comments