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

Note

 The Task Execute Snap is being phased out in favor of the Pipeline Execute Snap.


Snap type:

Flow


Description:

This Snap lets you execute predefined triggered tasks.  

A task can be selected from the current project or from the Shared project using the suggest functionality of the task property. A path of another project can be copied directly into the property value if needed, however the user executing the task must have permissions on the project where the task resides.

 
A task can be executed on a Snaplex, that either resides in the cloud or on-premises. In the latter, the user can choose to use the on-premises URL to execute the task without going through the cloud services. For detail, refer to Running an On-Premises Pipeline from a URL

A batch size can be defined if multiple documents need to be streamed to the underlying pipeline of the task.

Task parameters can be defined to allow passing parameters to the underlying pipeline of the task. The task parameter is suggestible and will return the parameter names of the underlying pipeline if any are defined. 

The parameter value can either be a constant value (= disabled) or can come from the input view or a pipeline parameter of the current pipeline (= enabled).


Note

To be able to seamlessly stream date types from/to the underlying pipeline, one must define the underlying pipeline with one unconnected document input view and one unconnected document output view.


Note

This Snap is being phased out in favor of the Pipeline Execute Snap.


Prerequisites:

None


Support and limitations:

Works in Ultra Task Pipelines if Batch size is set to 1.

Account: 

Accounts are not used with this Snap.


Views:


InputThis Snap has at most one document input view.
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.

Use On-Premises URL

Required. If selected, the on-premises URL of the task will be be used to invoke Child Pipeline execution. Selecting this checkbox avoids sending data through the cloud.

Note
For this to option to work, the Task selected must use an on-premises Snaplex. For more information, refer to the Triggered Tasks page. 


Task


Required. This setting allows the execution of a predefined triggered task. The task can be created in SnapLogic Manager for any given pipeline. Parameters of the pipeline can be passed in as variables using the Task parameter section of the Snap. Documents that are passed into the Snap are being streamed in the form of batches. The batch size controls how much memory is being used by the Snap. The data is transmitted encoded so that data formats such as LocalDate and DateTime can be preserved without having to parse them afterwards. The task must be either in Shared or in the project where the pipeline resides.

Example/Snaplogic/shared/feed task

Batch size


This setting defines the batch size of the request. The incoming documents will be accumulated in a list up to the defined batch size before it is submitted to the endpoint. The last document of the batch is used to provide the task parameter values if the batch size is set > 1.

Example: 1000

Task parameters


This setting lets you define task parameters and their values. A task parameter refers to the pipeline parameter of the underlying pipeline.

Example:

Task parameterTask parameter value
param1 $input


Multiexcerpt include macro
nameSnap Execution
pageSOAP Execute

Multiexcerpt include macro
nameSnap_Execution_Introduced
pageAnaplan Read

Example


Use the attached pipeline, feed (compressed), as a sample. Next, use the task sample pipeline (compressed) as as the parent pipeline that will call the task.

The task, feed task, has to be created manually either in Shared or in the project where task sample resides. The task must be defined as a triggered task. Once completed, the suggest capability of the Task Execute Snap can be used to refer to the task and its parameters.

You can also find more information on the SnapLogic blog at: SnapLogic Tips and Tricks: Understanding the Task Execute Snap.

Downloads

Multiexcerpt include macro
namedownload_instructions
pageOpenAPI

Attachments
patterns*.slp, *.zip



Insert excerpt
Flow Snap Pack
Flow Snap Pack
nopaneltrue