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:

Transform


Description:

This Snap records the input documents from Triggered or Ultra Task requests and replays them in Designer so that you can work with real preview data. When developing a new triggered or Ultra pipeline, you should create a pipeline with this Snap at the head, create the task, and send a sample request to the task to be recorded. Note that for an Ultra Task, you should disable the task so that the recording can be saved. Now that there is a recording saved, you can continue to develop your pipeline with real data.


Prerequisites:

[None]


Support and limitations:Ultra pipelines: Works Works in Ultra Pipelines.
  • Spark mode: Not supported in Spark mode.
  • Account: 

    Accounts are not used with this Snap.


    Views:


    InputThis Snap has exactly one document input view. It should be used as the unlinked input view in a Triggered or Ultra Task.
    OutputThis Snap has exactly one document output view.
    ErrorThis Snap has at most one document 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.

    Record File Path


    The path to the file where the recorded documents are stored.
    Example: (with expression toggle (=) on) 'sldb:///' + Snap.instanceId + '.json'
    Default value: (with expression toggle (=) on) 'sldb:///%s-%s-%s.json'.sprintf(pipe.label, encodeURIComponent(Snap.label), Snap.instanceId)


    Count

    Required. The number of documents to record. The last 'Count' documents are kept and written to the 'Record File Path' when the pipeline completes.


    Replay-Only

    Select this option to just replay recorded documents, not record new documents.
    Default value: Not selected


    Multiexcerpt include macro
    nameSnap Execution
    pageAnaplan Read

    Multiexcerpt include macro
    nameSnap_Execution_Introduced
    pageAnaplan Read

    Examples


    Generating an HTML Page with Weather Data from a SOAP Service

    In this example, this Ultra Pipeline generates an HTML page with weather data from a SOAP service.

     


    The pipeline will lookup your location based on your IP address using a rest service and then contact the soap service.  The generated page also includes an input for specifying the postal code manually if you want to query another location.

    The Record Replay Snap records the input documents from the feed requests and replays them in Designer so you can work with real Suggest data.

     

    The Router Snap validates the request and determines whether the geoIP lookup is needed from the REST Get Snap. A SOAP Snap is used to get the weather data.

     

    The XML Generator generates the HTML page, a Mapper Snap does some minor data updates, and a Document to Binary Snap returns the HTML page to the client instead of a JSON-encoded string.

      


     

    Downloads

    Multiexcerpt include macro
    namedownload_instructions
    pageOpenAPI

    Attachments
    uploadfalse
    oldfalse
    patterns*.slp, .zip

    Related Links

    See Also

    Insert excerpt
    Transform Snap Pack
    Transform Snap Pack
    nopaneltrue