Skip to main content

Notifications

Calling Actions from Copilot Studio
Answered

Result query stored procedure SQL

Posted on by 14

Hello

I am looking to retrieve the result of an SQL stored procedure. 3 columns and about 10 lines and display the result in Power Virtual Agent.

 

No worries about the stored procedure or in the flow.

On the other hand an error is raised for the HTML response to PVA.

Is it possible to display the result only the first line of the result?

 

 

Thank you !

Categories:
  • Faaz Profile Picture
    Faaz 3 on at
    Re: Eesult query stored procedure SQL

     @ggaudfroy  Can you share your finding/ workaround, please?

  • Ashish2012 Profile Picture
    Ashish2012 484 on at
    Re: Eesult query stored procedure SQL
    Hi, Can you please share your solution here. So if needed other can use the same.

    Thanks
  • renatoromao Profile Picture
    renatoromao 6,762 on at
    Re: Eesult query stored procedure SQL

    Nice @ggaudfroy !!! 🙂

  • ggaudfroy Profile Picture
    ggaudfroy 14 on at
    Re: Eesult query stored procedure SQL

    Hello

     

    Thank you for your reply.

    I worked around the problem by using the action creation csv array.

    So I managed to display the result in table form in PVA

  • Verified answer
    renatoromao Profile Picture
    renatoromao 6,762 on at
    Re: Eesult query stored procedure SQL

    Hi @ggaudfroy ,

     

    Unfortunately not yet, the Power Automate + Power VA has a limitation to read and show to the user the message.

    You can see the limitation here: https://docs.microsoft.com/en-us/power-virtual-agents/advanced-flow#input-and-output-parameters

     

    Regarding your problem, you can create one string with the first line in the Power Automate and response to Power VA this custom string.

Helpful resources

Quick Links

Welcome to the Power Platform…

We are thrilled to unveil the newly-launched Power Platform Communities!…

Getting Started…

Welcome to the Power Platform Community! We appreciate your visit…

Welcome to the new Power Platform Community!…

We are excited to announce our new Copilot Cookbook Gallery in the Community…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 138,287

#2
RandyHayes Profile Picture

RandyHayes 76,308

#3
Pstork1 Profile Picture

Pstork1 63,172

Leaderboard

Featured topics