The following example pipeline demonstrates how to use the
Aggregate
Snap to count the occurrences of a given
product name.
-
Configure the JSON Generator Snap to pass
product and order details. Then, use the
Aggregate
Snap to count the Order IDs and group
the fields by Product names. To achieve this, configure this Snap with COUNT function and
specify
$Product.Name.
-
On validation, you can view the Product names along with the Order IDs in the output
preview.
To successfully reuse pipelines:
- Download and import the pipeline in to the SnapLogic Platform.
- Configure Snap accounts, as applicable.
- Provide pipeline parameters, as applicable.