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

URL Parameter Contingency

Here's my current flow:

 

User A submits MS Form 1. A SP List item is created.

 

Form 1 is approved. User B is sent MS Form 2 to complete.

 

User B submits MS Form 2. User B manually inputs SP List Item ID in order to update that same Item created after MS Form 1 is completed. It works great (Thanks, @ScottShearer )

 

Flowz.PNG

 

Question: I am trying to prepare for an inevitable scenario where User B incorrectly enters the ID in Form 2. And currently, when that happens, their Form 2 responses disappear into an abyss. Or worse, they enter an ID that already exists and overwrite an existing SP List Item. 

 

Given the lack of URL parameter control (ability to automatically pre-populate the relevant ID number), I need to plan for this edge case. 

 

What do you experts recommend? Here's a draft of what I am considering:

 

 

Flowz_A.PNG

Flowz_B.PNG

 

2 REPLIES 2
v-lin-msft
Level 10

Re: URL Parameter Contingency

Hi @draymond11,

For the question you asked when an ID already exists the flow with Form 2 will overwrite an existing SP List Item. You need to set a condition to determine the ID whether already exist in the SharePoint List:Annotation 2019-06-28 180840.png

 

 

-If yes, send reminder email before Form 1 is approved, and notice user resubmit Form;

-If no, send the approve email to your approver.

Annotation 2019-06-28 180718.png

 

 

Because if you don't correct the ID at this step, the following steps will be troublesome, causing your data to be confused.

 

Please have a try, hopes it can help you.

 

Best Regards,

Community Support Team _ Lin Tu

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

draymond11
Level: Powered On

Re: URL Parameter Contingency

Hi @v-lin-msft ,

 

Thank you for your reply. More than anything, what I am looking to solve for is the scenario in which a user enters the wrong ID, and the Form 2 responses disappear since they don't meet the ODATA filter query: ID eq New Supplier ID

 

ID being the SP List Item ID and New Supplier ID being the field the user enters in Form 2 so Flow knows which item to update. 

 

Do you have any ideas about how I could store the Form 2 results somewhere, then update the correct item if ID eq New Supplier ID?

 

Problem I am having with a Flow I created to solve for this is all items were updated with a Form 2 entry (as opposed to updating a single item).

 

 

 

Helpful resources

Announcements
firstImage

Microsoft Business Applications Virtual Launch Event

Watch the event on demand for an in-depth look at the new innovations across Dynamics 365 and the Microsoft Power Platform.

firstImage

Watch Sessions On Demand!

Continue your learning in our online communities.

Power Platform 2019 Release Wave 2 Plan

Power Platform 2019 Release Wave 2 Plan

Features releasing from October 2019 through March 2020.

thirdimage

Flow Community User Group Member Badge

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

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

sixthImage

Power Platform World Tour

Find out where you can attend!

seventhimage

Webinars & Video Gallery

Watch & learn from the Flow Community Video Gallery!

Top Kudoed Authors
Users Online
Currently online: 178 members 4,055 guests
Please welcome our newest community members: