mirror of
https://github.com/microsoft/agent-framework.git
synced 2026-06-16 21:04:09 +08:00
0f913bcdeb
* Checkpoint * Update test workflows * Update workflows/MathChat.yaml Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> * Update folder * Cleanup * Signed package version * Rollback nuget.config * Cleanup * Set `ProductContext` * Move product initialization. --------- Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
31 lines
707 B
YAML
31 lines
707 B
YAML
kind: Workflow
|
|
trigger:
|
|
|
|
kind: OnConversationStart
|
|
id: my_workflow
|
|
|
|
actions:
|
|
- kind: SetVariable
|
|
id: setVariable_count
|
|
variable: Topic.Count
|
|
value: =0
|
|
|
|
- kind: Foreach
|
|
id: foreach_loop
|
|
items: =["a", "b", "c", "d", "e", "f"]
|
|
index: Topic.LoopIndex
|
|
value: Topic.LoopValue
|
|
actions:
|
|
- kind: ContinueLoop
|
|
id: continueLoop_now
|
|
- kind: SetVariable
|
|
id: setVariable_loop
|
|
variable: Topic.Count
|
|
value: =Topic.Count + 1
|
|
- kind: SendActivity
|
|
id: sendActivity_loop
|
|
activity: x{Topic.Count} - {Topic.LoopIndex}:{Topic.LoopValue}
|
|
|
|
- kind: EndConversation
|
|
id: end_all
|