Files
agent-framework/dotnet/tests/Microsoft.Agents.Workflows.Declarative.IntegrationTests/Workflows/SendActivity.yaml
T
Chris 74879489a4 .NET Workflow - Integrated updated CPS Object Model (#681)
* Checkpoint

* Update workflows/DeepResearch.yaml

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Comment

* Fix comment

* Update package version

* Fix nuget haxx

* Checkpoint

* Code complete

* Testing

* Message content workaround

* Add sequential flow

* Checkpoint

* Integration test project

* Checkpoint

* Checkpoint cleanup

* Complete

* Update package

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-09-15 20:41:07 +00:00

31 lines
716 B
YAML

#
# This workflow provides the most basic example of providing a response that includes the user and environment input.
#
# No agent setup is required to run this workflow.
#
kind: AdaptiveDialog
beginDialog:
kind: OnActivity
id: workflow_test
actions:
# Capture input
- kind: SetVariable
id: setvar_userinput
variable: Topic.UserInput
value: =System.LastMessage.Text
# Capture environment variable
- kind: SetVariable
id: setvar_username
variable: Global.UserName
value: =Env.USERNAME
# Respond with input
- kind: SendActivity
id: sendActivity_demo
activity: |-
Hello {Global.UserName},
You said, "{Topic.UserInput}"