Question
You have a Microsoft Foundry project that contains an agent named PaymentAgent.
PaymentAgent includes a function tool that issues customer refunds by using an external API.
You are creating a workflow in YAML.
You need to ensure that the workflow pauses for human approval and continues with the refund step only after approval is granted.
How should you complete the workflow definition? To answer, select the appropriate options in the answer area.
NOTE: Each correct selection is worth one point.
```yaml
steps:
- id: propose_refund
type: agent
agent: PaymentAgent
- id: approval
type: [Dropdown 1]
- id: execute_refund
type: agent
agent: PaymentAgent
condition: [Dropdown 2]
```
Explanation
Dropdown 1: ask_question is the step that asks the user a question and waits for the input before the workflow proceeds, which is the human-in-the-loop pattern used for approval requests. A data transformation step only sets a variable or parses a value, and a basic chat step is not the question-and-wait step named for this purpose. Dropdown 2: approval == "approved" runs the refund only when the approval step returned approved. The value true would run the refund regardless of the answer, and propose_refund.output != null only checks that a proposal exists, not that anyone approved it.