mirror of
https://github.com/microsoft/agent-framework.git
synced 2026-06-16 21:04:09 +08:00
.NET Workflows - Remove debug file ParseValue.yaml from workflow-samples (#1608)
* Initial plan * Remove ParseValue.yaml debug file from workflow-samples Co-authored-by: crickman <66376200+crickman@users.noreply.github.com> --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: crickman <66376200+crickman@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
Unverified
parent
d7f422b92c
commit
965cce0b50
@@ -1,39 +0,0 @@
|
||||
kind: Workflow
|
||||
trigger:
|
||||
kind: OnConversationStart
|
||||
id: workflow_demo
|
||||
actions:
|
||||
|
||||
- kind: SetVariable
|
||||
id: set-variable-text
|
||||
variable: Local.ItemsText
|
||||
value: '["apple","banana","cat"]'
|
||||
|
||||
|
||||
- kind: SendActivity
|
||||
id: display-text
|
||||
activity: |-
|
||||
(1)
|
||||
{Local.ItemsText}
|
||||
|
||||
- kind: ParseValue
|
||||
id: parse-list
|
||||
variable: Local.ItemsList
|
||||
value: =Local.ItemsText
|
||||
valueType: Table
|
||||
|
||||
- kind: SendActivity
|
||||
id: display-list
|
||||
activity: |-
|
||||
(2)
|
||||
{Local.ItemsList}
|
||||
|
||||
- kind: Foreach
|
||||
id: loop-list
|
||||
items: =Local.ItemsList
|
||||
value: Local.LoopValue
|
||||
index: Local.LoopIndex
|
||||
actions:
|
||||
- kind: SendActivity
|
||||
id: display-list-item
|
||||
activity: "{Local.LoopValue} (x{Local.LoopIndex + 1})"
|
||||
Reference in New Issue
Block a user