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

Is it Possible to update Request Submitted thru PowerApps at Sequentials Approval using Flow

Hi @v-xida-msft 

 

I have a PowerApp form holding approvals workflow.

 

Once i submit request/Item in PowerApps , it will hit to the Approver X and Once Approver X - Approves it then it will hit to Approver Y then Approver Y need to update Some fields in PowerApps Request /Item before/after approving from his end.

 

Can you please tell me how to update the fields in PowerApps so that the workflow gets updated as well.

 

 

Thanks

Lohitha

3 REPLIES 3
dynamicsedge
Level 10

Re: Is it Possible to update Request Submitted thru PowerApps at Sequentials Approval using Flow

@LohithaSannathi 

 

You would want to try to keep track of the state of the Approval by using something like a CDS record (best fit of your choice) to track the progress or state of each Approval, and this is checked by retrieving it through Gallery or otherwise.

 

Then in the state of pre-Y you would have the edit form in that case, otherwise it is hidden.

 

This is somewhat advanced so more detail may be warranted here, however it is something we would like to leave up to your imagination for now and you can start trying it and if you want coming back with specific questions.

Community Support Team
Community Support Team

Re: Is it Possible to update Request Submitted thru PowerApps at Sequentials Approval using Flow

Hi @LohithaSannathi ,

Could you please share a bit more about your scenario?

Do you want to send a approval email after you submit a record using your canvas app?

Further, which data source do you use in your app? SP List data source?

 

Based on the needs that you mentioned, I think the combination of Power Automate (MS Flow) and PowerApps could achieve your needs. I have made a test on my side, please consider take a try with the following workaround:

6.JPG

 

7.JPG

embed the App Url Link of your canvas app within the Details field of the "Approval" action along with a ID parameter.

Note: The URL should be enclosed in angle brackets (<>) to meet the Markdown syntax

 

Then within your canvas app, set the OnStart property of App to following:

Set(ItemID, Param("ID"));
If(
   !IsBlank(ItemID),
   Navigate(EditScreen1)
)

within the Edit screen, set the Item property of the Edit form to following:

If(
   !IsBlank(ItemID),
   LookUp('Your SP List', ID = ItemID),
   BrowseGallery1.Selected
)

Please consider take a try with above solution, check if the issue is solved.

 

Please check and see if the following threads would help in your scenario:

https://powerusers.microsoft.com/t5/General-Discussion/Editing-a-record-from-a-flow-powerapp/m-p/265...

https://powerusers.microsoft.com/t5/Building-Power-Apps/Embedded-link-to-a-Sharepoint-List-item-in-P...

 

Best regards,

Community Support Team _ Kris Dai
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
LohithaSannathi
Level: Powered On

Re: Is it Possible to update Request Submitted thru PowerApps at Sequentials Approval using Flow

@dynamicsedge 

 

 

Can you please give me clear steps to achieve this ( I'm Newbie to PowerAPPS /Flow/SharePoint).

your response will be highly appreciated.

 

 

Thanks

Lohitha

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 (9,247)