mirror of
https://github.com/microsoft/agent-framework.git
synced 2026-06-16 21:04:09 +08:00
7e1fd67e76
* Fixed * Test fix
58 lines
1.4 KiB
YAML
58 lines
1.4 KiB
YAML
kind: Workflow
|
|
trigger:
|
|
|
|
kind: OnConversationStart
|
|
id: workflow_test
|
|
actions:
|
|
|
|
- kind: ConditionGroup
|
|
id: check_system
|
|
conditions:
|
|
|
|
- condition: =IsBlank(System.Conversation)
|
|
id: conversation_check
|
|
actions:
|
|
- kind: EndDialog
|
|
id: conversation_bad
|
|
|
|
- condition: =IsBlank(System.Conversation.Id)
|
|
id: conversation_id_check1
|
|
actions:
|
|
- kind: EndDialog
|
|
id: conversation_id_bad1
|
|
|
|
- condition: =IsBlank(System.ConversationId)
|
|
id: conversation_id_check2
|
|
actions:
|
|
- kind: EndDialog
|
|
id: conversation_id_bad2
|
|
|
|
- condition: =IsBlank(System.LastMessage)
|
|
id: message_check
|
|
actions:
|
|
- kind: EndDialog
|
|
id: message_bad
|
|
|
|
- condition: =IsBlank(System.LastMessage.Id)
|
|
id: message_id_check1
|
|
actions:
|
|
- kind: EndDialog
|
|
id: message_id_bad1
|
|
|
|
- condition: =IsBlank(System.LastMessageId)
|
|
id: message_id_check2
|
|
actions:
|
|
- kind: EndDialog
|
|
id: message_id_bad2
|
|
|
|
- condition: =IsBlank(System.LastMessageText)
|
|
id: message_text_check
|
|
actions:
|
|
- kind: EndDialog
|
|
id: message_text_bad
|
|
|
|
elseActions:
|
|
- kind: SendActivity
|
|
id: activity_passed
|
|
activity: PASSED!
|