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!
Solved! Go to Solution.
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
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
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