cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Dudditz
Level: Powered On

Powerapp Combox always returns false in flow condition

I have a powerapps combox when checked within powerapps returns a text value of true.  I have verified this within powerapps and also writing the value to a Sharepoint list from flow, works fine.  When using the same value within a flow condition it always returns false.  I believe this is a common issue and I thought I have dealt with it before however can't remember the procedure to allow the condition to respect the value of the combox.

 

PowerApp Button

'PowerApp->Postamessage(V3)'.Run(TeamsChannelCombo.Value, TeamsChannelCombo.Value)

 

2019-08-22_20-44-35.jpg2019-08-22_20-45-04.jpg2019-08-22_20-45-25.jpg

1 ACCEPTED SOLUTION

Accepted Solutions
RezaDorrani
Level 10

Re: Powerapp Combox always returns false in flow condition

Hi @Dudditz 

 

The condition_objectname should be coming from dynamic content

currently you have hardcoded it as a string

 

when in expression window

type bool() then switch to dynamic content and add the dynamic param value for condition_objectname

10 REPLIES 10
RezaDorrani
Level 10

Re: Powerapp Combox always returns false in flow condition

Hi @Dudditz 

 

Try true as an expression value 

 

Regards,

Reza Dorrani

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly

Dudditz
Level: Powered On

Re: Powerapp Combox always returns false in flow condition

Hi Reza, can you provide some guidance on how the expression should work?  The configuration below does the same issue, returns false and fails.  test.jpg

Dudditz
Level: Powered On

Re: Powerapp Combox always returns false in flow condition

I forgot to mention compose returns true, writing to sharepoint returns true, conditions return false regardless of value.

RezaDorrani
Level 10

Re: Powerapp Combox always returns false in flow condition

Hi @Dudditz 

 

try bool(paramfrompowerapp) is equal to true

 

Use expressions for both

plz note paramfrompowerapp - is your dynamic content param from powerapps

 

Regards,

Reza Dorrani

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly

Dudditz
Level: Powered On

Re: Powerapp Combox always returns false in flow condition

Hi Reza, I did as explained and the following error.

 

InvalidTemplate. Unable to process template language expressions for action 'Condition' at line '1' and column '2052': 'The template language function 'bool' was invoked with a parameter that is not valid. The value cannot be converted to the target type.'.
 
bool('Condition_ObjectName') is equal to true
 
Both are setup as expressions
RezaDorrani
Level 10

Re: Powerapp Combox always returns false in flow condition

Hi @Dudditz 

 

share screenshot

Dudditz
Level: Powered On

Re: Powerapp Combox always returns false in flow condition

I am sure I have this configured wrong, not sure why I am so challengA.jpgB.jpged by this concept.

RezaDorrani
Level 10

Re: Powerapp Combox always returns false in flow condition

Hi @Dudditz 

 

The condition_objectname should be coming from dynamic content

currently you have hardcoded it as a string

 

when in expression window

type bool() then switch to dynamic content and add the dynamic param value for condition_objectname

Dudditz
Level: Powered On

Re: Powerapp Combox always returns false in flow condition

Well that was to obvious, thanks for pointing that out, my mistake.  It is working now.  I have am relativly new to using the flow expressions so this was a good learning experince.  Thanks again for all your help.

RezaDorrani
Level 10

Re: Powerapp Combox always returns false in flow condition

@Dudditz 

 

Good luck with your MS Flow learning

 

Check this to learn about expressions

https://www.powerplatformug.com/viewdocument/august-2019-meeting-recording-flo?CommunityKey=e5945313...

 

Regards,

Reza Dorrani

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly

Helpful resources

Announcements
firstImage

Microsoft Business Applications Virtual Launch Event

Join us for an in-depth look at the new innovations across Dynamics 365 and the Microsoft Power Platform.

firstImage

Watch Sessions On Demand!

Continue your learning in our online communities.

Power Platform 2019 Release Wave 2 Plan

Power Platform 2019 Release Wave 2 Plan

Features releasing from October 2019 through March 2020

thirdimage

Flow Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

fifthimage

Microsoft Learn

Learn how to build the business apps that you need

sixthImage

Power Platform World Tour

Find out where you can attend!

seventhimage

Webinars & Video Gallery

Watch & learn from the Flow Community Video Gallery!

Users Online
Currently online: 228 members 2,688 guests
Please welcome our newest community members: