cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
samuelJ
Responsive Resident
Responsive Resident

Flow/Stored procedure: Invalid Number of arguments

Hello - I am trying to call a stored procedure.  I have been calling a stored procedure like this for a few months with no issues.  I am attempting to do the same thing but I keep getting this error.  I have set up an instant flow that calls a stored procedure and takes in some parameters.  In powerApps it says it is expecting zero parameters, but you can see in my flow there should be 4.  Appreciate any help.  storedProc.PNGprocInPowerApps.PNG

1 ACCEPTED SOLUTION

Accepted Solutions
samuelJ
Responsive Resident
Responsive Resident

I guess when you make a change to the flow, you have to "re-import" it again from Action > Power Automate > Flow.  I just made the change and thought it would auto update.  

View solution in original post

2 REPLIES 2
v-xiaochen-msft
Community Support
Community Support

Hi @samuelJ ,

 

I did the test for you and did not encounter your problem.

v-xiaochen-msft_0-1614136521995.png

v-xiaochen-msft_1-1614136570812.png

 

Please try to:

1.Remove flow from canvas.

2.Save, publish and exit app.

3.Enter the app again. Add a button control and re-add the flow.

 

v-xiaochen-msft_2-1614136745718.png

 

If it still does not work, please try to create a new flow.

 

Best Regards,
Wearsky
If my post helps, then please consider Accept it as the solution to help others. Thanks.

 

samuelJ
Responsive Resident
Responsive Resident

I guess when you make a change to the flow, you have to "re-import" it again from Action > Power Automate > Flow.  I just made the change and thought it would auto update.  

Helpful resources

Announcements
PA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

This training provides practical hands-on experience in creating Power Apps solutions in a full-day of instructor-led App creation workshop.

Microsoft Build 768x460.png

Microsoft Build is May 24-26. Have you registered yet?

Come together to explore latest innovations in code and application development—and gain insights from experts from around the world.

May UG Leader Call Carousel 768x460.png

What difference can a User Group make for you?

At the monthly call, connect with other leaders and find out how community makes your experience even better.

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