Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

On this Page

Table of Contents
maxLevel2
excludeOlder Versions|Additional Resources|Related Links|Related Information

Snap type:

Write

Description:

This Snap connects to the particular instance provided by ServiceNow, updates the records into the given table based upon the given clause, and returns the response as a document stream.

  • Expected upstream Snaps: Any Snap that provides a document output view such as a Mapper Snap.
  • Expected downstream Snaps: None or any Snap that has a document input view such as a Filter or a Data or a JSON Formatter.
  • Expected input:  A Table Name, record ID, and record details.
  • Expected output:  Updates a record.
Prerequisites:

None

Support and limitations:Ultra pipelines: 

Works in Ultra Task Pipelines.

  • Spark mode: Not supported in Spark mode.
  • Account: 

    This Snap uses account references created on the Accounts page of SnapLogic Manager to handle access to this endpoint.  See ServiceNow Account or information on setting up this type of account.

    Views:


    Input

    This Snap has exactly one input view.

    Output

    This Snap has exactly one output view.

    Error

    This Snap has at most one error view and produces zero or more documents in the view.


    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

    Insert excerpt
    ServiceNow Delete
    ServiceNow Delete
    nopaneltrue

    Multiexcerpt include macro
    nameSnap Execution
    pageSOAP Execute

    Multiexcerpt include macro
    nameExecution_Detail_Write
    pageSOAP Execute

    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 update a record in a ServiceNow table using a ServiceNow Update Snap.


     

    In the pipeline execution:

    1. maps ServiceNow record details (that must be updated) to the input fields of ServiceNow Update Snap:


       
    2. ServiceNow Update Snap updates the 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 updated record: 


    Insert excerpt
    ServiceNow Snap Pack
    ServiceNow Snap Pack
    nopaneltrue