web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Power Automate Flow ke...
Power Apps
Answered

Power Automate Flow keeps thinking Boolean input from Power Apps is a String

(0) ShareShare
ReportReport
Posted on by 62

Hello.

 

I have built a flow in Power Automate that takes inputs from an application in Power Apps with the following structure:

 

shot1.png

 

One of these variables (varPergunta4) is supposed to be initialized as a Boolean, as seen below:

 

shot2.png

 

The data for this variable comes from Power Apps and is the result from a comparison using a Radio Button, which is a Boolean:

 

tempPergunta4: If(RespostaPStart4.Selected.Value = "Sim", true, false)

 

 

And I can double check that by looking into the elements in the collection that contains the inputs for the Flow. As we can see, the tempPergunta4 value is set to "True", which is a Boolean and not a String.

shot3.png

 

However, when calling the flow inside Power Apps using the code below, I get the following error telling me that I am trying to assign a String value to "varPergunta4", when that's clearly not the case

 

 

ForAll(NewRespostasStartup,
 submitRespostaStartup.Run(
 tempCodResposta,
 tempCodVisitaOS,
 tempPergunta1, tempPergunta2, tempPergunta3, tempPergunta4, tempPergunta5, tempPergunta6,
 tempPergunta7, tempPergunta8, tempPergunta9, tempPergunta10, tempPergunta11, tempPergunta12
 )
);

 

shot4.png

 

Does anyone know how I can solve this?

 

Thanks in advance.

Categories:
I have the same question (0)
  • Verified answer
    Scott_Parker Profile Picture
    1,090 on at

    Probably just a mismatch, like it says. The PowerApps trigger can rearrange the order of the arguments. Peek the code of the trigger to confirm that the arguments are in the order you think they are.

     

    Consider using the PowerApps V2 trigger.

  • linx9 Profile Picture
    62 on at

    @Scott_Parker 

     

    Switching to the PowerApps V2 trigger made it work just fine. Thanks for the input!

     

    The PowerAppsV2 was so far below from V1 in the options list when creating the flow, that I did not even know it existed before you mentioned it.

  • Scott_Parker Profile Picture
    1,090 on at

    @linx9 

    Glad to here it! They really should put the V2 in a more visible position, agreed.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Launch!

Jump in, show your community spirit, and win prizes!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Valantis Profile Picture

Valantis 477

#2
WarrenBelz Profile Picture

WarrenBelz 341 Most Valuable Professional

#3
11manish Profile Picture

11manish 317

Last 30 days Overall leaderboard