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

Need help to run a Flow from PowerApps on SharePoint Edit Item Form

I have a Flow for submitting Attachments from existing SharePoint List Item to another Library. The workflow works great, with one issue: it has a big delay of 3-4 minutes until the user submits the attachment to find it in the library, due to the delay of the frequency of Flow checking for changes in a SharePoint list. That's why I am trying to use a PowerApp Form when Editing Item - I need to complete Flow parameters in the formula bar at the PowerApp Action:

PowerAppsbutton.Run(Getitem_ld), then the Item ID is used in the Flow.

I was able to find the item ID with PowerAppsbutton.Run(SharePointForm1.Current.ID), but I am not sure how to combine the Submit Button along with running the Flow at the same time. The attachment is not saved if I have only the Flow without Submit.

I am trying to find a blog post for how to Set the parameters or Collect the information from the current item - the parameter above I found very randomly, browsing on Collect.

Also, it will be great if someone could help how to Submit a SharePoint item and its attachments along with running the Flow in PowerApps.

Thank you!

 

1 ACCEPTED SOLUTION

Accepted Solutions
savramova
Level: Powered On

Re: Need help to run a Flow from PowerApps on SharePoint Edit Item Form

I was able to make it working using this information:

https://docs.microsoft.com/en-us/powerapps/maker/canvas-apps/functions/function-form

Here how the Action Button works for submitting the Item and running the Flow at the same time:

SubmitForm(SharePointForm1); PowerAppsbutton.Run(SharePointForm1.Current.ID)

The Video from Laura Rogers was very helpful, too!

https://www.iwmentor.com/pages/powerapps-customize-list-form

 

View solution in original post

2 REPLIES 2
savramova
Level: Powered On

Re: Need help to run a Flow from PowerApps on SharePoint Edit Item Form

I was able to make it working using this information:

https://docs.microsoft.com/en-us/powerapps/maker/canvas-apps/functions/function-form

Here how the Action Button works for submitting the Item and running the Flow at the same time:

SubmitForm(SharePointForm1); PowerAppsbutton.Run(SharePointForm1.Current.ID)

The Video from Laura Rogers was very helpful, too!

https://www.iwmentor.com/pages/powerapps-customize-list-form

 

View solution in original post

Microsoft v-siky-msft
Microsoft

Re: Need help to run a Flow from PowerApps on SharePoint Edit Item Form

Hi @savramova ,

 

I am glad to see you have found out the workaround.

Also, could you mark your post to be the answer for more members to find it more quickly

 

Best regards,

Sik

Helpful resources

Announcements
Better Together’ Contest Finalists Announced!

'Better Together’ Contest Finalists Announced!

Congrats to the finalists of our ‘Better Together’-themed T-shirt design contest! Click for the top entries.

thirdimage

Power Apps Community User Group Member Badge

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

sixthImage

Join THE global Microsoft Power Platform event series

Attend for two days of expert-led learning and innovation on topics like AI and Analytics, powered by Dynamic Communities

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

thirdimage

Microsoft Business Applications Virtual Launch

Join us for the Microsoft Business Applications Virtual Launch Event on Thursday, April 2, 2020, at 8:00 AM PST.

thirdimage

Community Summit North America

Innovate, Collaborate, Grow - The top training and networking event across the globe for Microsoft Business Applications

Top Solution Authors
Top Kudoed Authors
Users online (7,344)