web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id : fiWATwGDhaHO7qkChsTEQO
Power Automate - Building Flows
Answered

Execute Stored Procedure V2 body parsing

Like (0) ShareShare
ReportReport
Posted on 14 Mar 2022 09:28:27 by 113

I have a flow the takes an HTTP response an then uses an Execute Stored Procedure V2 to import the data into an SQL Server db.  This all works fine.

 

Now, I want to have the Store Procedure return a string containing multiple bits of information: status (Success, Failure), identity, ... for a total of 4 elements so they can be use to build and send the appropriate e-mail to the user.

 

My question is, how can I parse the Execute Stored Procedure V2 return so as to split the return into individual variable for used thereafter?  What action?

 

Thank you.

I have the same question (0)
  • Verified answer
    DanielPineault Profile Picture
    113 on 14 Mar 2022 at 09:50:14
    Re: Execute Stored Procedure V2 body parsing

    Entirely my fault, wrong brackets!  For anyone else, should be

     

    split(outputs('Execute_stored_procedure_(V2)')?['body'], '|')[0]

  • DanielPineault Profile Picture
    113 on 14 Mar 2022 at 09:42:19
    Re: Execute Stored Procedure V2 body parsing

    I tried building a Initialize Variable action with a Value of

     

    split(outputs('Execute_stored_procedure_(V2)')?['body'], "|")[0]
     
    but it won't allow it?

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

MS.Ragavendar – Community Spotlight

We are honored to recognize Ragavendar Swaminatha Subramanian as our September…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 798 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 469 Moderator

#3
Power Apps 1919 Profile Picture

Power Apps 1919 333

Last 30 days Overall leaderboard