cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Dudditz
Continued Contributor
Continued Contributor

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
Dual Super User II
Dual Super User II

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

View solution in original post

10 REPLIES 10
RezaDorrani
Dual Super User II
Dual Super User II

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
Continued Contributor
Continued Contributor

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
Continued Contributor
Continued Contributor

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

RezaDorrani
Dual Super User II
Dual Super User II

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
Continued Contributor
Continued Contributor

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
Dual Super User II
Dual Super User II

Hi @Dudditz 

 

share screenshot

Dudditz
Continued Contributor
Continued Contributor

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

RezaDorrani
Dual Super User II
Dual Super User II

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

View solution in original post

Dudditz
Continued Contributor
Continued Contributor

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
Dual Super User II
Dual Super User II

@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
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

Welcome Super Users.jpg

Super User Season 2

Congratulations, the new Super User Season 2 for 2021 has started!

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

Microsoft Ignite 768x460.png

Find your focus

Explore the latest tools,training sessions,technical expertise, networking and more.

Users online (1,508)