mirror of
https://github.com/microsoft/agent-framework.git
synced 2026-06-16 21:04:09 +08:00
e11ec9d941
* Checkpoint / 100% Pass * Checkpoint: ActionExecutorResult * Update dotnet/tests/Microsoft.Agents.Workflows.Declarative.IntegrationTests/Testcases/Marketing.json Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> * Namespace * Sync updates --------- Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
29 lines
612 B
YAML
29 lines
612 B
YAML
kind: Workflow
|
|
trigger:
|
|
|
|
kind: OnConversationStart
|
|
id: my_workflow
|
|
actions:
|
|
|
|
- kind: Foreach
|
|
id: foreach_loop
|
|
items: =["a", "b", "c", "d", "e", "f"]
|
|
index: Local.LoopIndex
|
|
value: Local.LoopValue
|
|
actions:
|
|
|
|
- kind: BreakLoop
|
|
id: break_loop_now
|
|
|
|
- kind: SetVariable
|
|
id: set_variable_inner
|
|
variable: Local.Count
|
|
value: =Local.Count + 1
|
|
|
|
- kind: SendActivity
|
|
id: send_activity_inner
|
|
activity: x{Local.Count} - {Local.LoopIndex}:{Local.LoopValue}
|
|
|
|
- kind: EndConversation
|
|
id: end_all
|