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 Platform Community / Forums / Power Automate / Problem with Compose a...
Power Automate
Unanswered

Problem with Compose and replace function

(0) ShareShare
ReportReport
Posted on by 28

I have a flow that transfers the contents of a Form to a PDF file. The template is an .html page which contains 3 markers

{firstname}
{surname}
{address}

using 3 Compose functions - replace in the flow I replace the markers with the content of my Form unfortunately however in the end it only replaces me

{address}

as if the script forgets that it has performed the previous action.

I followed this tutorial

https://www.youtube.com/watch?v=2PnzyQNMp3o

but nothing, it doesn't work for me
Thanks for your cooperation

Categories:
I have the same question (0)
  • Verified answer
    Pstork1 Profile Picture
    68,707 Most Valuable Professional on at

    Double check that you are using the results of the previous Compose in each subsequent Compose.

    1. Compose #1 replaces the text in the HTML
    2. Compose #2 replaces the text in Compose #1 Output
    3. Compose #3 replaces the text in Compose #2 Output

    I suspect that you aren't using the previous output each time so you are only getting the last Replace.

  • AndreaC Profile Picture
    28 on at

    ok it's as strictly as you say, it was my mistake thanks for letting me know. Now it works fine but I have another problem but I will do another post for it.
    Thanks

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