Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PAB-4575: New template parameter field for source or destination type in Analytics Builder #2670

Open
wants to merge 2 commits into
base: develop
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
---
date:
title: New template parameter field in Analytics Builder to select source or destination type
change_type:
- value: change-2c7RdTdXo4
label: Improvement
product_area: Analytics
component:
- value: component-M5-cepIIS
label: Streaming Analytics
build_artifact:
- value: tc-KXXmo2SUR
label: apama-in-c8y
ticket: PAB-4575
version:
---
A new field named **Source or Destination Type** is now available in the **Template Parameters** dialog box of the Analytics Builder model editor.
It applies when the type **Source or Destination** is selected. You can use the new field to select one of the following source or destination types: **Device**, **Groups**, **Assets**, or **Other**. You can then specify a default value that is based on your selection. See also [Managing template parameters](/streaming-analytics/analytics-builder/#managing-template-parameters).
Original file line number Diff line number Diff line change
Expand Up @@ -383,6 +383,9 @@ Models with no template parameters can be directly activated in the model manage

An input block specifies a device or a range of devices, while an output block specifies a device, a trigger device or an asset. For template parameters, the same template parameter and thus value can be used for both input and output blocks. If a template parameter is set to refer to a range of devices, then using it in an output block will be treated as the trigger device. Typically, a single template parameter would be used for all input and output blocks, and may be a single device or a range of devices, in which case the block output goes to the device within the range that triggered a model evaluation \(so a model calculating an average of a measurement and outputting to a measurement would generate a new measurement for each device independently\). Even if a different template parameter whose value refers to a different range was used, the model output would only be sent to the device that triggered a model's evaluation.

- **Source or Destination Type**. Applies when the type **Source or Destination** is selected.
You can select one of the following source or destination types: **Device**, **Groups**, **Assets**, or **Other**. You can then specify a default value that is based on your selection.

- **Optional**. An optional value can remain blank or can be set later by the instance maintainer. When you select this checkbox, it is not possible to specify a default value.
- **Default Value**. You can only specify a default value when the **Optional** checkbox is not selected.

Expand Down