On this Page
Table of Contents | ||||
---|---|---|---|---|
|
Snap type: | Write | |||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Description: | This Snap connects to the particular instance provided by ServiceNow, inserts the incoming records into the given table, and returns the response (all the fields pertaining to the record) as a document stream.
| |||||||||||||
Prerequisites: | [None] | |||||||||||||
Support and limitations: | Works in Ultra Task Pipelines.
| |||||||||||||
Account: | This Snap uses account references created on the Accounts page of SnapLogic Manager to handle access to this endpoint. See Configuring ServiceNow Accounts for information on setting up this type of account. | |||||||||||||
Views: |
| |||||||||||||
Settings | ||||||||||||||
Label | Required. The name for the Snap. You can modify this to be more specific, especially if you have more than one of the same Snap in your pipeline. | |||||||||||||
Table Namename |
| |||||||||||||
Page size | Required. Number of documents for processing in a single batch. Minimum Value: 1 Maximum Value: 500 Default Value: 500
| |||||||||||||
Number Of Retriesof retries | Specifies the maximum number of retry attempts when the Snap fails to write. Example: 3 Minimum value: 0 Default value: 0 | |||||||||||||
Retry Interval interval (seconds) | Specifies the minimum number of seconds the Snap must wait before each retry attempt. Example: 3 Minimum value: 1 Default value: 1 | |||||||||||||
|
|
Example
The example assumes that you have configured & authorized a valid ServiceNow account (see Configuring ServiceNow Accounts) to be used with this Snap.
The following pipeline shows how you can insert a new record in a ServiceNow table using a ServiceNow Insert Snap.
In the pipeline execution:
Mapper Snap maps ServiceNow record details to the input fields of ServiceNow Insert Snap:
ServiceNow Insert Snap inserts the new record in the catalog_category_request table:
After a successful validation of the Snap, you will see a data preview that shows details of the inserted record:
Insert excerpt | ||||||
---|---|---|---|---|---|---|
|