Skip to main content

Notifications

Power Apps - Building Power Apps
Answered

Checkbox value from PowerApps to PowerAutomate

Posted on by 73

Hi

 

I'm trying to pass several checkbox boolean values from powerapps to powerautomate. My flow triggers fine but inside the flow all the values are coming through as false even when checked in the app.

 

On my app I have a submit button which launches the flow correctly this is what I have in the OnSelect property:

 

SubmitForm(SharePointForm1);

'UpdateData'.Run(SharePointForm1.LastSubmit.ID,CheckboxJan.Value,CheckboxFeb.Value,CheckboxMar.Value,CheckboxApr.Value,CheckboxMay.Value,CheckboxJun.Value,CheckboxJul.Value,CheckboxAug.Value,CheckboxSep.Value,CheckboxOct.Value,CheckboxNov.Value,CheckboxDec.Value)

 

On the flow side I am using the PowerAppsV2 trigger with each checkbox having an input yes/no.

 

Any pointers on where I'm going wrong? Thanks in advance!

 

Categories:
  • WalesMariner Profile Picture
    WalesMariner 73 on at
    Re: Checkbox value from PowerApps to PowerAutomate

    Thank you @narayan225 that works perfectly!!!

  • Verified answer
    narayan225 Profile Picture
    narayan225 2,171 on at
    Re: Checkbox value from PowerApps to PowerAutomate

    @WalesMariner 

     

    After you submit a form, all of its controls get reset. You can either use the form.LastSubmit function to retrieve what was submitted last to run the flow.

     

    https://www.spguides.com/powerapps-lastsubmit/

     

    Instead of passing all checkbox values as parameters you can set and chamge a variable instead to trigger the flow with just one parameter..

     

    Set onCheck to a variable and pass that variable to a flow.

     

    Cheers!

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

November 2024 Newsletter…

November 2024 Community Newsletter…

Community Update Oct 28…

Power Platform Community Update…

Tuesday Tip #7 Community Profile Tips…

Welcome to a brand new series, Tuesday Tips…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 143,297

#2
RandyHayes Profile Picture

RandyHayes 76,308

#3
Pstork1 Profile Picture

Pstork1 63,890

Leaderboard