mirror of
https://github.com/microsoft/agent-framework.git
synced 2026-06-16 21:04:09 +08:00
647db9635a
* Renaming Microsoft.Agent.Workflows to Microsoft.Agents.AI.Workflows * Removing local settings. * Removing remining old files from merge.
26 lines
556 B
YAML
26 lines
556 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: 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
|