Constant
Overview
You can use this Snap to inject a block of text, possibly including pipeline parameters, expression language, and writes out binary data.

- This is a Read-type Snap.
Works in Ultra Tasks
Snap views
| Type | Description | Examples of upstream and downstream Snaps |
|---|---|---|
| Input | The Snap accepts Document and Binary input type. | |
| Output | The Snap accepts Document and Binary output type. | |
| Learn more about Error handling. | ||
Snap settings
Legend:
- Expression icon (
): Allows using pipeline parameters to set field values dynamically (if enabled). SnapLogic Expressions are not supported. If disabled, you can provide a static value.
- SnapGPT (
): Generates SnapLogic Expressions based on natural language using SnapGPT. Learn more.
- Suggestion icon (
): Populates a list of values dynamically based on your Snap configuration. You can select only one attribute at a time using the icon. Type into the field if it supports a comma-separated list of values.
- Upload
: Uploads files. Learn more.
| Field/Field set | Type | Description |
|---|---|---|
| Label | String |
Required. Specify a unique name for the Snap. Modify this
to be more appropriate, especially if more than one of the same Snaps is in the
pipeline. Default value: Constant Example: Constant_test |
| Content | String/Expression | Required. Specify the text that may contain expressions
including pipeline parameters. For example:
Default value: None Example: pipe.label.toUpperCase() |
| Snap execution | Dropdown list |
Choose one of the three modes in
which the Snap executes. Available options are:
Default value: Validate & Execute Example: Disabled |