Apama 10.3.1 | Apama Documentation | Connecting Apama Applications to External Components | Standard Connectivity Plug-ins | The Cumulocity IoT Transport Connectivity Plug-in | Using operations | Updating an operation
 
Updating an operation
You can update the status field.
send com.apama.cumulocity.Operation("<OPERATION_ID>","<SOURCE>","<STATUS>",
{"c8y_Message":<any> {<any>"text":<any>"Updated Cumulocity device"}} )
to com.apama.cumulocity.Operation.CHANNEL;
Where
*<OPERATION_ID> is the identifier of the previously created operation. The presence of <OPERATION_ID> indicates that the request is for updating an existing operation.
*<SOURCE> is the source of the operation (same as the ManagedObject identifier).
*<STATUS> is the status of the operation. This can be PENDING, EXECUTING, SUCCESSFUL or FAILED.

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.