Receives executor task command
SUB{agent-base-topic}/exec/command
The selected executor receives the task assignment or forwarded signal on its own exec/command, with sender set to the Swarm Leader's agent-id. A start-task or signal-task whose sender is the elected Swarm Leader is executed locally; any other start-task is member task ingress, except that a start-task carrying parent-task-uuid is never ingress: from any other sender, or with no sender, it fails with 'inactive task'. The executor fails a command with fail-reason 'parsing error', 'invalid task payload', 'task-already-running', 'inactive task' or 'unsupported signal'. See the Swarm protocol guide, section executorTaskCommand.
MQTT
| QoS | 1 |
|---|---|
| retain | false |
Message message
Message message
Message message
Message message
Receives executor task command
{
"task": {
"params": {
"swarm": false,
"agent-count": 1
}
},
"parent-task-uuid": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"parent-com-uuid": "3fa85f64-5717-4562-b3fc-2c963f66afa6"
}