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!
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!
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.