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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Issue getting Boolean ...
Power Apps
Unanswered

Issue getting Boolean into Powerapps with Flows

(1) ShareShare
ReportReport
Posted on by 16

Hello everybody,

 

I have finally run into an issue which I can not seem to fix. I am working on an application which generates pdf files based on info entered in the app. I have Flow working like a charm generating the PDF file when initiated from Powerapps, and the file is sucessfully created. However I wanted to implement a Flow to check if the file name the user is trying to use is not already taken. I got that Flow working perfectly aswell. This is where I ran into an issue. No matter what I try I can not get PowerApps to read the returned boolean although im pretty sure it should.

 

 

Code in my OnChange of the Title TextBox
haspdf is the boolean returned by the flow 

UpdateContext({hPdf:'PowerApps-Schaltfläche–2'.Run(txtDocTitel.Text).haspdf});;Notify("" & hPdf)

I also tried

UpdateContext({hPdf:'PowerApps-Schaltfläche–2'.Run(txtDocTitel.Text)});;Notify("" & hPdf.haspdf)

 

 

I have tried using Set aswell as directly calling the flow when pressing the submit button. Maybe someone knows what I am doing wrong. Any help would be appreciated 🙂

Categories:
I have the same question (0)
  • poweractivate Profile Picture
    11,078 Most Valuable Professional on at

    @Arcr0s 

     

    1. Remove the two semicolons, should really be just one semicolon between statements.
    2. Try a simpler case.
      1. Try it OnVisible on an empty screen, and make a control on one of your other screens to navigate to it. Or even, do it on a button select instead on any screen and add a random button for testing that you plan to take out later.
      2. Try a hard coded string as the Flow argument instead of another control's value. Try using a simple control (or set a variable) and see if you can update that rather then using a Collection (for now). Then perhaps try a variable for example. Then slowly change this gradually to Collection, get rid of your hard coded string, etc. and retest and work into your final scenario.

     

     

  • Arcr0s Profile Picture
    16 on at

    Thanks for the reply,

     

    However I need that second semicolon otherwise PowerApps cries because Notify is a new expression, they just act as a normal escape semicolon. This is not the issue, I have used this pratice in all my other apps and that has never been a problem.

    Secondly there is nothing wrong with the parameters I am passing to Flow, both Flows I am using work 100%.

    The pdf is created just fine and just as I designed it and the other Flow correctly checks for the file and returns the correct boolean. I have checked the Flow log which is again telling me everything is working just perfect, except it is not.

     

    Edit:

     

    I have tested it on Button press and other things but none of the work.

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 739 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 343 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard