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

Execute SQL Stored Procedure through Powerapps

Hi,

 

We're building a Powerapps app with an Azure SQL database.

 

Because we're unable to modify existing records when date and time fields are updated through triggers in Azure, we created a stored procedure to update the modified date/time field but this error prevented the date/time field to be updated although my changes were returned to the db.

 

Error:

 
 

PAError.png

This is my flow. 

PAFlow.png

This was the Onselect code in PA that triggered the flow and error message:

PACode-empty.png

 

Originally I pointed the SP execution command to the ID field in my form, but the error message below says it doesn't need any arguments inside the command so I took it out.

PACode.png

PAError.png

 

This is my first time calling a SP from powerapps so I don't know where it went wrong. Does anyone know what the error message means?

1 ACCEPTED SOLUTION

Accepted Solutions
fatimat
Frequent Visitor

Hi, 

 

Please disregard my post. I later found out that my code in Powerapps was not updated to the new flow trigger.

View solution in original post

2 REPLIES 2
fatimat
Frequent Visitor

Hi, 

 

Please disregard my post. I later found out that my code in Powerapps was not updated to the new flow trigger.

View solution in original post

Hi @fatimat ,

I'm vary glad that you've solved your problem.

Do you have any other problems?

If not, could you change your issue's status to "Answered"?

Thanks!

 

Best regards,

Community Support Team _ Phoebe Liu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
PA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

secondImage

Demo Extravaganza is Back!

We are excited to announce that Demo Extravaganza for 2021 has started!

MBAS on Demand

Microsoft Business Applications Summit sessions

On-demand access to all the great content presented by the product teams and community members! #MSBizAppsSummit #CommunityRocks

Power Apps June 2021

June Power Apps Community Call

Did you miss the call? Check out the recording here!

Top Solution Authors
Top Kudoed Authors
Users online (76,316)