cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
jwilso414
Frequent Visitor

Resume Power Apps form draft using Power Automate

I created a Power App that allows a user to fill out a form and submit the form to a Microsoft List. The user also can save the form as a draft in the Microsoft List as well. I created a Power Automate workflow that will send an email to the user with a link to resume the draft, but when the user clicks the link, it redirects them to an empty form. How do I create the Power Automate workflow or Power Apps code that allows the user to resume editing the draft when clicking the link within the email?

1 ACCEPTED SOLUTION

Accepted Solutions
MarvinBangert
Super User
Super User

Hey @jwilso414 

there is a function called "Param" in Power Apps that you can use on your app start. Put the parameter in your link you send to your user and on app start check if this parameter is used/set.

On App start your condition should look like:

if(
    IsBlank(Param("ItemID")),
    //NewForm(),
    //EditForm()
)

The link that is send to the user should look like:

"https://apps.powerapps.com/play/<...>&ItemID=<Your dynamic Item ID>"

 

When the user click the link, on app start the app checks if this parameter is empty, if yes, do nothing/New Form/Navigation etc. and if it is filled, you send him to the existing Item using the unique MS Lists Item ID.

 

Hope this helps you!

Best regards
Marvin

If you like this post, give a Thumbs up. If it solved your request, Mark it as a Solution to enable other users to find it.

View solution in original post

2 REPLIES 2
MarvinBangert
Super User
Super User

Hey @jwilso414 

there is a function called "Param" in Power Apps that you can use on your app start. Put the parameter in your link you send to your user and on app start check if this parameter is used/set.

On App start your condition should look like:

if(
    IsBlank(Param("ItemID")),
    //NewForm(),
    //EditForm()
)

The link that is send to the user should look like:

"https://apps.powerapps.com/play/<...>&ItemID=<Your dynamic Item ID>"

 

When the user click the link, on app start the app checks if this parameter is empty, if yes, do nothing/New Form/Navigation etc. and if it is filled, you send him to the existing Item using the unique MS Lists Item ID.

 

Hope this helps you!

Best regards
Marvin

If you like this post, give a Thumbs up. If it solved your request, Mark it as a Solution to enable other users to find it.

thank you! I was missing the OnStart part. Thank you so much!

Helpful resources

Announcements
Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

MPA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

Learn to digitize and optimize business processes and connect all your applications to share data in real time.

Power Automate Designer Feedback_carousel.jpg

Help make Flow Design easier

Are you new to designing flows? What is your biggest struggle with Power Automate Designer? Help us make it more user friendly!

Top Solution Authors
Top Kudoed Authors
Users online (2,470)