Item Property Add
Valve to create or add a new property on one or more existing items.
Control target items with item_include_expr. If not specified property will be added to all items. (see Item)
Configuration
Section titled “Configuration”| Name | Description | Default value | Mandatory | Expanded |
|---|---|---|---|---|
name | Name of property to add. | |||
value | Property value. | |||
values | List of properties to add. Configured as a json object. | {} |
// example 1{ "name":"ItemPropertyAdd", "config":{ "item_include_expr": "item.id.startsWith('tmp_')", "name":"timeStamp", "value":"${utils.now}" }},// example 2{ "name":"ItemPropertyAdd", "config":{ "values": { "jwt": "{{{session.jwt}}}", "name": "{{{item.givenName}}}" } }}