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

Microsoft Flows Stored Procedure with Powerapps Parameters

I am trying to pass start date and end date paramters from Powerapps button to FLOW using SQL Stored Procedure.

I get following error:
{
  "status"400,
  "message""Invalid Mashup Expression using supplied values.\r\n     inner exception: Microsoft SQL: There is already an object named 'temp_enspire_inv_data' in the database.\r\nclientRequestId: b0dca59d-1081-492f-bbf2-075fc0783c5e",
  "source""sqlconnectionprovider-westus.tip0-westus.p.azurewebsites.net"
}

However when I use Reoccurence as trigger in flow and manually pass paramter to the same stored procedure it run without any issues. 

Would it be possible to know if there is anything else I should know when passing paramters from Powerapps to Flow in order to execute stored proc?

1 REPLY 1
Community Support Team
Community Support Team

Re: Microsoft Flows Stored Procedure with Powerapps Parameters

Hi @jshah,

 

Could you please share a screenshot of your flow's configuration?

Further, do you add a "Execute stored procedure" action of SQL Server connector within your flow?

 

The error message told that you have provided invalid values within the "Execute stored procedure" action of your flow. When passing date time (ShortDate) from PowerApps app to Microsoft Flow, the date time would be decorated as following Time format:

MM/dd/yyyy

Please check if you have provided proper start date and end date with correct Time Format within the "Execute stored procedure" action of your flow.

 

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

https://powerusers.microsoft.com/t5/Building-Flows/SharePoint-Get-items-Filter-Quero/m-p/97613#M9539

 

If you could provided more details about your scenario, we could provide a proper workaround for you.

 

 

Best regards,

Kris

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.

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!

Users Online
Currently online: 314 members 4,580 guests
Please welcome our newest community members: