Skip to content

Commit ad43c9b

Browse files
committed
Addressing PR feedback
1 parent d55dc2e commit ad43c9b

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

  • EmployeeSelfServiceAgent/Workday/EmployeeScenarios/WorkdayManageEmergencyContact

EmployeeSelfServiceAgent/Workday/EmployeeScenarios/WorkdayManageEmergencyContact/topic.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ kind: AdaptiveDialog
22
inputs:
33
- kind: AutomaticTaskInput
44
propertyName: InputAction
5-
description: "Look for keywords 'add', 'new', or 'create' in the user's request. If found, extract 'add'. Look for keywords 'get', 'view', 'show', 'list', 'see', 'display', or 'what are' in the user's request. If found, extract 'get'. Otherwise extract 'manage'."
5+
description: "Look for keywords 'add', 'new', or 'create' in the user's request. If found, extract 'add'. Look for keywords 'get', 'view', 'show', 'list', 'see', 'display', or 'what are' in the user's request. If found, extract 'get'. Look for keywords 'delete' or 'remove' in the user's request. If found, extract 'delete'. Otherwise extract 'manage'."
66
entity: StringPrebuiltEntity
77
shouldPromptUser: false
88

@@ -188,7 +188,7 @@ beginDialog:
188188
- kind: SetVariable
189189
id: set_is_delete_mode
190190
variable: Topic.isDeleteIntent
191-
value: ="delete" in Lower(System.Activity.Text) || "remove" in Lower(System.Activity.Text)
191+
value: =(!IsBlank(Topic.InputAction) && "delete" in Lower(Topic.InputAction)) || "delete" in Lower(System.Activity.Text) || "remove" in Lower(System.Activity.Text)
192192

193193
# Check if user explicitly wants to add a new contact - skip loading existing contacts
194194
- kind: ConditionGroup

0 commit comments

Comments
 (0)