
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.