On this Page
Snap type: | Write | |||||||
---|---|---|---|---|---|---|---|---|
Description: | This Snap is used to write input record documents into Anaplan.
| |||||||
Prerequisites: | [None] | |||||||
Support and limitations: | Works in Ultra Pipelines | |||||||
Account: | This Snap uses account references created on the Accounts page of SnapLogic Manager to handle access to this endpoint. See Anaplan Account 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. | |||||||
Workspace | Required. The workspace that contains the target model. Default value: N/A | |||||||
Model | Required. The model on which you want the Snap to operate. Default value: N/A | |||||||
Import name | Required. List of the export ID's available in a model. | |||||||
Server filename | Required. Filename for an Anaplan server file. | |||||||
Overwrite file | If selected, the Anaplan server file is overwritten. Otherwise, an error will occur if the file already exists. | |||||||
Override server settings | Select this check box to override the settings saved on Anaplan's server for Separator and Text Delimiter. Default value: Not selected | |||||||
Separator | Choose the column separator for the Snap to use the following available options:
Default value: TAB
| |||||||
Text Delimiter* | Choose the text delimiter for the Snap to use the following available options:
Default value: DOUBLE_QUOTE
| |||||||
Upload only | If selected, uploads the server file and does not run an import job. | |||||||
Retry limit | Specifies the maximum number of connection retry attempts in case of a connection failure. If the retry attempts exceed the configured value, the pipeline execution fails and an error message appears. Default value: 3 | |||||||
Retry interval | Specifies the minimum retry time interval in seconds. Enter the time interval for the Snap to retry a connection request after a failed connection. The time increases exponentially between failures. For example, if the timeout is set to 3 seconds, the first timeout is at 3, the second is at 4.5 etc. Default value: 3 | |||||||
HTTP timeout | Specifies the connection timeout value in seconds. In case of a connection failure, the Snap aborts the pipeline execution. Default value: 60 | |||||||
The pipeline:
The File Reader Snap reads the actor.csv file (a comma separated file) from SnapLogic projects:
Then, the CSV Parser Snap parses the actor.csv file data for Anaplan Write Snap to write it on the Anaplan Workspace. The Anaplan Write Snap writes to a file sample_1.csv in the Anaplan Workspace,SnapLogic QA, and Model, Anaplan Snap Tests:
Note that, selecting Upload Only in this Snap uploads the file as a new file on your Anaplan Workspace. This is the same operation as performed in Anaplan Upload Snap. Not selecting the Upload Only option, updates/appends the file data (based on the input data) to an existing file in the Anaplan Workspace.
After a successful validation of the Snap, you will see a data preview that gives the status of the write operation and details of the file written/imported to Anaplan Workspace: