cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
HaimOz
Advocate III
Advocate III

Executing a SQL SP returns 1 CHAR output (trimmed) where the actual result is a full string

Hi all,

I have a flow triggered by PVA, providing an ID (int).

I initialise 2 variables (var1, var2), both strings.

I connect to SQL Server (SQL Azure Database) - Execute Stored Procedure (V2) and run the procedure providing the ID above.

The procedure should return 2 values, both strings.

When I run the SP manually, it works fine and return what's expected.

BUT, when running from Power Automate, the output is somehow trimmed to be a single character.

I hope the attached images will demonstrate it properly.

Would appreciate any advice.

Thank you,

 

In SQL:

SQL_SP_Output.PNG

 

In Power Automate:

PA_SQLConnector_Output.PNG

1 ACCEPTED SOLUTION

Accepted Solutions

Hi @HaimOz ,

 

Glad that your problem has been solved now.

 

Best Regards,

Alice

 

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

View solution in original post

4 REPLIES 4
v-alzhan-msft
Community Support
Community Support

Hi @HaimOz ,

 

Could you please share a screenshot of the configuration of your flow?

 

Best regards,

Alice   

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

@v-alzhan-msft ,

Please find below:

Flow01.PNGFlow02.PNG

Problem sorted. 

All good now.

 

Hi @HaimOz ,

 

Glad that your problem has been solved now.

 

Best Regards,

Alice

 

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

View solution in original post

Helpful resources

Announcements
Process Advisor

Introducing Process Advisor

Check out the new Process Advisor community forum board!

MPA 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

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

Users online (47,120)