microsoft / microsoft/agent-framework
.NET: Null `Data` in `ExecutorCompletedEvent`, but `AgentResponseUpdateEvent`s have data?
@peibekwe is already working on this.
Since Mar 12, 2026.
- Dominant language
- Python
- Stars
- 13.6k
- Forks
- 2.3k
- Avg merge
- 2d 45m
- Merged PRs (30d)
- 358
Description
### Discussed in https://github.com/microsoft/agent-framework/discussions/4637
Originally posted by **jbnidev** March 12, 2026
I think there is likely something very simple that I am missing in workflow/executor settings, but I cannot find it. I have an adapted version of [WorkflowAgentsInWorkflowsSample](https://github.com/microsoft/agent-framework/blob/main/dotnet/samples/03-workflows/_StartHere/02_AgentsInWorkflows/Program.cs) example. I am grabbing all of the events, and my output is shown below. Things to notice:
1. The translators are clearly getting invoked and passing data downstream. You can see the `ExecutorInvokedEvent` events with the output from the prior stages.
2. The `ExecutorCompletedEvent` events have no data. (The `Data` fields are `null`, but showing up here as empty strings.)
**QUESTION**: Why are the `ExecutorCompletedEvent.Data` fields empty? Is this expected for agents? Is there a setting that controls this?
I was anticipating that I would get `ExecutorCompletedEvent` events with the complete data for all of the `AgentResponseUpdateEvent` events. (I have seen cases where the data is streamed across multiple `AgentResponseUpdateEvent` events, so this would be very useful.) This would match the corresponding `ExecutorInvokedEvent` event, however, I have also noticed that with agents, we get two pairs of invoked/completed events.
* There is an `ExecutorInvokedEvent` event with the input.
* There is an `ExecutorCompletedEvent` with no data.
* There is another `ExecutorInvokedEvent` event with "Microsoft.Agents.AI.Workflows.TurnToken" as its data.
* There is another `ExecutorCompletedEvent` with no data.
```
SuperStepStartedEvent: "Microsoft.Agents.AI.Workflows.SuperStepStartInfo"
ExecutorInvokedEvent: id = French_Translator_c245099bba664782ac6710b7dc9591ea: "17"
ExecutorCompletedEvent: id = French_Translator_c245099bba664782ac6710b7dc9591ea: ""
ExecutorInvokedEvent: id = French_Translator_c245099bba664782ac6710b7dc9591ea: "Microsoft.Agents.AI.Workflows.TurnToken"
AgentResponseUpdateEvent: id = French_Translator_c245099bba664782ac6710b7dc9591ea: ""
AgentResponseUpdateEvent: id = French_Translator_c245099bba664782ac6710b7dc9591ea: ""
AgentResponseUpdateEvent: id = French_Translator_c245099bba664782ac6710b7dc9591ea: "dix-huit"
AgentResponseUpdateEvent: id = French_Translator_c245099bba664782ac6710b7dc9591ea: ""
ExecutorCompletedEvent: id = French_Translator_c245099bba664782ac6710b7dc9591ea: ""
SuperStepCompletedEvent: "Microsoft.Agents.AI.Workflows.SuperStepCompletionInfo"
SuperStepStartedEvent: "Microsoft.Agents.AI.Workflows.SuperStepStartInfo"
ExecutorInvokedEvent: id = Spanish_Translator_8a7b9c65255a4c24ba664d9713758e66: "17 | "
ExecutorCompletedEvent: id = Spanish_Translator_8a7b9c65255a4c24ba664d9713758e66: ""
ExecutorInvokedEvent: id = Spanish_Translator_8a7b9c65255a4c24ba664d9713758e66: "dix-huit | "
ExecutorCompletedEvent: id = Spanish_Translator_8a7b9c65255a4c24ba664d9713758e66: ""
ExecutorInvokedEvent: id = Spanish_Translator_8a7b9c65255a4c24ba664d9713758e66: "Microsoft.Agents.AI.Workflows.TurnToken"
AgentResponseUpdateEvent: id = Spanish_Translator_8a7b9c65255a4c24ba664d9713758e66: ""
AgentResponseUpdateEvent: id = Spanish_Translator_8a7b9c65255a4c24ba664d9713758e66: ""
AgentResponseUpdateEvent: id = Spanish_Translator_8a7b9c65255a4c24ba664d9713758e66: "Trente-six"
AgentResponseUpdateEvent: id = Spanish_Translator_8a7b9c65255a4c24ba664d9713758e66: ""
ExecutorCompletedEvent: id = Spanish_Translator_8a7b9c65255a4c24ba664d9713758e66: ""
SuperStepCompletedEvent: "Microsoft.Agents.AI.Workflows.SuperStepCompletionInfo"
SuperStepStartedEvent: "Microsoft.Agents.AI.Workflows.SuperStepStartInfo"
ExecutorInvokedEvent: id = English_Translator_c7081a63d80b4ebd97f442d1558e7549: "17 | dix-huit | "
ExecutorCompletedEvent: id = English_Translator_c7081a63d80b4ebd97f442d1558e7549: ""
ExecutorInvokedEvent: id = English_Translator_c7081a63d80b4ebd97f442d1558e7549: "Trente-six | "
ExecutorCompletedEvent: id = English_Translator_c7081a63d80b4ebd97f442d1558e7549: ""
ExecutorInvokedEvent: id = English_Translator_c7081a63d80b4ebd97f442d1558e7549: "Microsoft.Agents.AI.Workflows.TurnToken"
AgentResponseUpdateEvent: id = English_Translator_c7081a63d80b4ebd97f442d1558e7549: ""
AgentResponseUpdateEvent: id = English_Translator_c7081a63d80b4ebd97f442d1558e7549: ""
AgentResponseUpdateEvent: id = English_Translator_c7081a63d80b4ebd97f442d1558e7549: "Seventy-two"
AgentResponseUpdateEvent: id = English_Translator_c7081a63d80b4ebd97f442d1558e7549: ""
ExecutorCompletedEvent: id = English_Translator_c7081a63d80b4ebd97f442d1558e7549: ""
SuperStepCompletedEvent: "Microsoft.Agents.AI.Workflows.SuperStepCompletionInfo"
```
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.