Product Property


The Product Property node searches for a product via the data in the metadata and outputs the specified product data to the output msg.

Node Type

Enrichment.

Input and Output Ability

This node has 1 entry point and 1 exit point.

Node Properties

../../../_images/product_property.png


Name

The name for this node.


Output

The product data to be added to the output msg. Available options include the model ID, and product key. After selecting the product data, you can choose to enter a corresponding alias. If an alias is given, the alias will be used to replace the name in the output msg.


The table below shows the scenarios for a model ID with value “model8385”.


Alias Output Msg
Not given “modelId”: “model8385”
myModel “myModel”: “model8385”


Product Tag Output

You can also add existing product tags to the output msg and give your own alias to the product tags if required. Click + Product Tag to enter the product tag key and its alias.


The table below shows the scenarios for an existing product tag “color” with value “blue”.

Key Alias Output Msg
Not given Not given Product tag will not be shown in output msg, as no tag is specified.
color Not given “color”: “blue”
color shade “shade”: “blue”
highlight shade Product tag will not be shown in output msg, as there is no product tag named “highlight”.


Description

The description for this node.

Limitations

  • The input msg must be in EnOS standard data format, with the metadata containing the asset ID, device key, product key, and organization ID.

Samples

Input Sample

{
  "id": "vstk14Od",
  "lastUpdate": null,
  "attribute": {
    "street": 72
  },
  "measurepoint": {
    "EnergyOut": null
  }
}

Output Sample

{
  "id": "vstk14Od",
  "myModelId": "vFtWt183",
  "myProductKey": "Kzmu7Us",
  "shade":"blue",
  "lastUpdate": null,
  "attribute": {
    "street": 72
  },
  "measurepoint": {
    "EnergyOut": null
  }
}