diff --git a/LCS/MessageBus/include/MessageBus/Protocols/TaskFeedbackStatus.h b/LCS/MessageBus/include/MessageBus/Protocols/TaskFeedbackStatus.h index 90586ed9a7fd3496289865329aa242c19c59a6ff..a0a6d31a1ad17cf64c99f865076b31023829595d 100644 --- a/LCS/MessageBus/include/MessageBus/Protocols/TaskFeedbackStatus.h +++ b/LCS/MessageBus/include/MessageBus/Protocols/TaskFeedbackStatus.h @@ -56,8 +56,11 @@ public: "1.0.0") { setXMLPayload(formatString( - "<task>%s</task>", - success ? "FINISHED" : "ABORT")); + "<task> + <type>observation</type> + <state>%s</state> + </task>", + success ? "finished" : "aborted")); } // Parse a message