I am using Power Apps in conjunction with Power Automate to create a workflow. I have a button in Power Apps with the following OnSelect
property:
Set(myOutput, CallMS2Flow.Run(Value(Lenght.Text)))
The CallMS2Flow
is a Power Automate flow that is supposed to return a numerical value. However, when I hover over myOutput
, it indicates that the data type is boolean. Because of this, I am unable to pass the myOutput
value into a Text input, such as myOutput.def
.
The flow has this output:
The schema for the flow output is:
{
"type": "object",
"properties": {
"def": {
"title": "def",
"x-ms-dynamically-added": true,
"type": "number"
}
}
}
How can I correctly capture the numerical output from the flow and use it in Power Apps?
Set(myOutput, CallMS2Flow.Run(Value(Lenght.Text)).def)