mirror of
https://github.com/microsoft/agent-framework.git
synced 2026-06-16 21:04:09 +08:00
06827e9f1a
* Closure * Verified * Update dotnet/src/Microsoft.Agents.Workflows.Declarative/Interpreter/DeclarativeWorkflowContext.cs Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> * Sample folder * System scope fix * Fix link * Integrate Foundry SDK fix * File naming fix * Update dotnet/src/Microsoft.Agents.Workflows.Declarative/Interpreter/DeclarativeWorkflowContext.cs Co-authored-by: Tao Chen <taochen@microsoft.com> * Namespace * Optimize bind --------- Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> Co-authored-by: Tao Chen <taochen@microsoft.com>
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: Topic.TestValue
|
|
value: =Value(System.LastMessageText)
|
|
|
|
- kind: ConditionGroup
|
|
id: conditionGroup_test
|
|
conditions:
|
|
- id: conditionItem_odd
|
|
condition: =Mod(Topic.TestValue, 2) = 1
|
|
actions:
|
|
- kind: SendActivity
|
|
id: sendActivity_odd
|
|
activity: ODD
|
|
elseActions:
|
|
- kind: SendActivity
|
|
id: sendActivity_else
|
|
activity: EVEN
|
|
|
|
- kind: EndConversation
|
|
id: end_all
|