Apama 10.3.1 | Apama Documentation | Connecting Apama Applications to External Components | Standard Connectivity Plug-ins | The Cumulocity IoT Transport Connectivity Plug-in | Using managed objects | Updating a managed object
 
Updating a managed object
To enable use cases where information related to a managed object can be persisted, you can update any metadata information (such as the state) as properties of a managed object.
managedObject.params.add("<CUSTOM_PROPERTY>", <PROPERTY_VALUE>);
send managedObject to com.apama.cumulocity.ManagedObject.UPDATE_CHANNEL
Where
*<CUSTOM_PROPERTY> is the property that is to be added.
*<PROPERTY_VALUE> is the value for the newly added property.

Copyright © 2013-2019 | Software AG, Darmstadt, Germany and/or Software AG USA, Inc., Reston, VA, USA, and/or its subsidiaries and/or its affiliates and/or their licensors.