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.
29 lines
637 B
YAML
29 lines
637 B
YAML
kind: Workflow
|
|
trigger:
|
|
|
|
kind: OnConversationStart
|
|
id: my_workflow
|
|
actions:
|
|
|
|
- kind: SetVariable
|
|
id: setVariable_test
|
|
variable: Local.TestValue
|
|
value: =Value(System.LastMessageText)
|
|
|
|
- kind: ConditionGroup
|
|
id: conditionGroup_test
|
|
conditions:
|
|
- id: conditionItem_odd
|
|
condition: =Mod(Local.TestValue, 2) = 1
|
|
actions:
|
|
- kind: SendActivity
|
|
id: sendActivity_odd
|
|
activity: ODD
|
|
elseActions:
|
|
- kind: SendActivity
|
|
id: sendActivity_else
|
|
activity: EVEN
|
|
|
|
- kind: EndConversation
|
|
id: end_all
|