On this Page
Table of Contents | ||||
---|---|---|---|---|
|
Snap type: | Write | |||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Description: | This Snap connects to the particular instance provided by ServiceNow, deletes the records by the IDs (fetched from the incoming documents) from the given table, and returns the response as a document stream.
| |||||||||||||
Prerequisites: | [None] | |||||||||||||
Support and limitations: | Ultra pipelines: 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 AccountAccounts 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 Name |
| |||||||||||||
|
|
Example
The example assumes that you have configured & authorized a valid ServiceNow account (see Configuring ServiceNow AccountAccounts) to be used with this Snap.
The following pipeline shows how you can pass the record ID of ServiceNow record to be deleted from a specified table using a ServiceNow Delete Snap.
In the pipeline execution:
Mapper Snap maps ServiceNow record's ID (sys_id) to the input fields of ServiceNow Delete Snap:
ServiceNow Delete Snap deletes the specified 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 deleted record:
Insert excerpt | ||||||
---|---|---|---|---|---|---|
|