Files
agent-framework/dotnet/tests/Microsoft.Agents.Workflows.Declarative.IntegrationTests/Workflows/SendActivity.yaml
T
Chris 4d63899812 .NET Workflows - Introduce support for Local variable scope (#944)
* Prepare for update

* Checkpoint

* Comments

* All fixed

* Mixed casre test added

* Rollback nuget

* Remove redundant restorable

* Namespace
2025-09-26 21:44:19 +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: Local.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, "{Local.UserInput}"