Exam AI-103 Topic 1 Question 28 Discussion

Actual exam question for Microsoft's AI-103 exam
Question #: 28
Topic #: 1
You have a Microsoft Foundry project that contains a workflow for a customer support triage process.
You have an Ask a question node that stores user responses in a local variable named Var01.
You need to create the following Power Fx expressions:
* An if/else condition expression that ensures that Var01 contains a value
* A Send message expression that returns the stored user response in uppercase How should you configure the expressions? To answer, select the appropriate options in the answer area.
NOTE: Each correct selection is worth one point.

Suggested Answer:


Explanation:
If/else condition expression: Not(IsBlank(Local.Var01))
Send message expression: {Upper(Local.Var01)}
The correct if/else condition is Not(IsBlank(Local.Var01)) because the workflow must continue only when the Ask a question node has captured a nonblank value. In Power Fx, IsBlank checks whether a value is blank, while Not reverses that Boolean result; therefore, Not(IsBlank(Local.Var01)) evaluates to true only when Var01 contains user input. IsEmpty(Local.Var01) is not the correct choice because IsEmpty checks whether a table contains records, not whether a text variable has a value. The Power Fx formula reference distinguishes these functions by defining IsBlank for blank values and IsEmpty for empty tables.
The Send message expression must be {Upper(Local.Var01)}. Microsoft Foundry workflow guidance uses the same pattern for an Ask a question node saved as Var01, followed by a Send message action that outputs
{Upper(Local.Var01)}. The Local. prefix is required because the response is stored in a local workflow variable, and Upper() converts the stored text response to uppercase. Reference topics: Microsoft Foundry workflows, Power Fx expressions, local variables, if/else branching, and Send message actions.

by Miles at Jul 16, 2026, 11:12 PM

Comments

Chosen Answer:
This is a voting comment (?) , you can switch to a simple comment.
Switch to a voting comment New
Nick name: Submit Cancel
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

0
0
0
10