cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Regular Visitor

Problem with Compose and replace function

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

1 ACCEPTED SOLUTION

Accepted Solutions
Dual Super User III
Dual Super User III

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.



-------------------------------------------------------------------------
If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.

View solution in original post

2 REPLIES 2
Dual Super User III
Dual Super User III

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.



-------------------------------------------------------------------------
If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.

View solution in original post

Regular Visitor

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

Helpful resources

Announcements
Microsoft Ignite

Microsoft Ignite

Join digitally, March 2–4, 2021 to explore new tech that's ready to implement. Experience the keynote in mixed reality through AltspaceVR!

New Super Users

Meet the Power Automate Super Users!

Many congratulations to the Season 1 2021 Flownaut Crew!

Microsoft Ignite

Microsoft Power Platform: 2021 Release Wave 1 Plan

Power Platform release plan for the 2021 release wave 1 describes all new features releasing from April through September 2021.

MPA Community Blog

Power Automate Community Blog

Check out the community blog page where you can find valuable learning material from community and product team members!

Users online (59,169)