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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Automate
Unanswered

Create a XML

(0) ShareShare
ReportReport
Posted on by 132

Hi guys, i want to create a xml. which contains the table date which i get from my ai. How to do it? 

Zohaib1999_0-1696413623811.png

 

Categories:
I have the same question (0)
  • eliotcole Profile Picture
    4,363 Moderator on at

    Hi, @Zohaib1999 , just make a compose action and in there use the expression builder to call the following function:

    xml(SOURCE_DATA)

    Then within the brackets just choose the output from the previous step which you which to convert to XML (instead of "SOURCE_DATA").

     

    🙂

     

    For more see the Reference Guide, here:

    https://learn.microsoft.com/en-us/azure/logic-apps/workflow-definition-language-functions-reference#xml

  • Zohaib1999 Profile Picture
    132 on at

    It results to an error 😕

  • eliotcole Profile Picture
    4,363 Moderator on at

    OK, well, I think that you have two choices going forward, @Zohaib1999 :

    1. Start messing around, and trying some stuff ... it's probably a learning thing that you might only ever really get to grips with this way 👍
    2. Perhaps help us all to help you a little better by adding some more information to the original question 🙂

    On the latter, perhaps just edit your original question with a screen shot of the error that you got.

     

    Plus (if you can) make a code block and include the response data from the previous step (just replace anything sensitive with garbage text) so that you can then point out which part you wish to make the XML from.

     

    To be clear, to convert to XML you must have a root node which contains another node with the data.

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 522 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 364 Moderator

#3
abm abm Profile Picture

abm abm 243 Most Valuable Professional

Last 30 days Overall leaderboard