Skip to main content
Version: 1.1.2

Sends task response

PUB 

{agent-base-topic}/exec/response

The Swarm Leader relays the selected executor's task response on the Swarm Unit's exec/response, preserving correlation identifiers. fail-reason values the Swarm Unit itself sets: 'pending task capacity exceeded', 'leader warming up', 'signal not applicable before assignment', 'invalid task payload', 'no formation', 'task-already-running', 'invalid-agent-count', 'agent-count-unsupported', 'insufficient-agents', 'area-too-small', 'inactive task', 'leader lost', and the delegation failure-reasons 'no-bid', 'missing executor topic', 'executor acknowledgement timeout', 'executor refused' and 'task aborted by commander'. See the Swarm protocol guide, section taskResponse.

MQTT​

QoS1
retainfalse

Message message​

Sends task response
{
"agent-uuid": "2d5082f9-3dca-498c-9157-f152456f9179",
"com-uuid": "5f3e2c1a-8b7d-4e6f-9a1b-2c3d4e5f6789",
"task-uuid": "1a2b3c4d-5e6f-4789-9abc-def012345678",
"response": "running",
"sub-task-uuids": [
"7d1c2b3a-4e5f-4a69-8b7c-0d1e2f3a4b5c",
"8e2d3c4b-5f60-4b7a-9c8d-1e2f3a4b5c6d"
]
}