Managed Object Output
apama.analyticskit.blocks.cumulocity.ManagedObjectOutput
Updates a ManagedObject object for a specified device or for the current device.
If the Property Name parameter is set, then the Value input port (or its properties if it has an empty value) is used to set that property on the managed object.
If the Property Name parameter is not set, then all properties from the Value input port are used to update the managed object.
Note: The following reference properties on a managed object cannot be updated using this block: childDeviceIds, childAssetIds, deviceParentIds and assetParentIds.
This block does not participate in time-synchronous model-to-model communication. Multiple blocks can be used in a single model or multiple models to update the same property of the same device. Cycles among models can be formed because of this block, so care must be taken not to introduce indefinite cyclic execution of models.
This block produces asynchronous output. The parameter that defines the output stream of the block is Device or Device Group.
Parameters
Name | Description | Type | Notes |
Device or Trigger Device | The device (or for models handling groups, Trigger Device) that the managed object is associated with. The model editor uses the current device name. This is mapped internally to the device identifier. | any | |
Property Name | The name of the property to update. If not set, then the properties from the Value input port are mapped to the top level properties of the managed object. | string | Optional |
Input Port Details
Name | Description | Type |
Value | The value of the property to set. | any |
Update Property | Signals that the property is to be updated. If not connected, every new value from the Value input port updates the property. | pulse |