Files
agent-framework/dotnet/tests/Microsoft.Agents.Workflows.Declarative.IntegrationTests/Workflows/SendActivity.yaml
T
Chris 06827e9f1a .NET Workflows - Improvements to Declarative Framework (#838)
* 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>
2025-09-23 21:08:07 +00:00

26 lines
530 B
YAML

kind: Workflow
trigger:
kind: OnConversationStart
id: workflow_test
actions:
# Capture input
- kind: SetVariable
id: set_user_input
variable: Topic.UserInput
value: =System.LastMessage.Text
# Capture environment variable
- kind: SetVariable
id: set_user_name
variable: Global.UserName
value: =Env.USERNAME
# Respond with input
- kind: SendActivity
id: send_result
activity: |-
Hello {Global.UserName},
You said, "{Topic.UserInput}"