-
Notifications
You must be signed in to change notification settings - Fork 10
Adding failureReason to Operation update #51
Comments
This request seems to make a lot of sense. The SDK doesn't currently support that because here http://cumulocity.com/guides/reference/device-control/ it says for failureReason "No" in the column PUT/POST. So the question is... how is that reason supposed to reach the CoT? Maybe that is just a mistake in the documentation? We need to try it, I guess. |
Ah, cool. We didn't try that. But if that's how it works then I would consider that a very likely feature for the next release of the SDK. |
No, it's not possible. But that is only because all the extra fields are ignored from the operation. We can upgrade it to only strip the fields that are known to be invalid in the update, and just pass on all unknown fields, like failure reasons, results or log file links. That would not require any major redesigning. Can't promise when this will happen though. |
adding test for operation with failure reason cloud-of-things#51
This issue is fixed and released in version 1.0.4 |
Updating an Operation just PUT's the new status to CoT.
It would be great to be able to set a "failureReason" wich is displayed in operation audit.
The text was updated successfully, but these errors were encountered: