cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Helper III
Helper III

Condition Returning False

Hello,

 

I've seen planty of this problem in other topics but i couldn't find where the mistake is.

 

I have a toggle buttom at Power Apps that sents a value to my compose function.

 

I have a condition, if this toggle buttom is true, it need to do an action.

 

When i run the flow, the output of the compose is true.

 

But my condition returns false. Attachments below.

 

Imagem 1.JPGIMAGEM 2.JPGIMAGEM 3.JPG

 

Best regads,

1 ACCEPTED SOLUTION

Accepted Solutions
Super User III
Super User III

Hello @RodrigoCastelli 

 

Looking into the trigger I can see the data type Power Automate is bringing over is a String, even though in Power Apps its considered as a Boolean.

Jcook_0-1601677599195.png

 

So this is an easy fix. Just encase your true value in your condition with double quotes like "true"

Jcook_2-1601677665573.png

 

Do note that once you save the Flow The quotes will remain hidden in the field. But logic will remain to act as a String.

 

 





Did I answer your question? Mark my post as a solution!

If you like my post please hit the Thumbs Up


Proud to be a Flownaut!


Check out my blog for Power Automate tips, tricks, and guides
FlowAltDelete




View solution in original post

2 REPLIES 2
Super User III
Super User III

Hello @RodrigoCastelli 

 

Looking into the trigger I can see the data type Power Automate is bringing over is a String, even though in Power Apps its considered as a Boolean.

Jcook_0-1601677599195.png

 

So this is an easy fix. Just encase your true value in your condition with double quotes like "true"

Jcook_2-1601677665573.png

 

Do note that once you save the Flow The quotes will remain hidden in the field. But logic will remain to act as a String.

 

 





Did I answer your question? Mark my post as a solution!

If you like my post please hit the Thumbs Up


Proud to be a Flownaut!


Check out my blog for Power Automate tips, tricks, and guides
FlowAltDelete




View solution in original post

Perfect!

 

Thanks @Jcook !

 

Best regards,

Helpful resources

Announcements
Microsoft Ignite

Microsoft Ignite

Join digitally, March 2–4, 2021 to explore new tech that's ready to implement. Experience the keynote in mixed reality through AltspaceVR!

New Super Users

Meet the Power Automate Super Users!

Many congratulations to the Season 1 2021 Flownaut Crew!

Microsoft Ignite

Microsoft Power Platform: 2021 Release Wave 1 Plan

Power Platform release plan for the 2021 release wave 1 describes all new features releasing from April through September 2021.

MPA Community Blog

Power Automate Community Blog

Check out the community blog page where you can find valuable learning material from community and product team members!

Users online (35,817)