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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / web automation using d...
Power Automate
Answered

web automation using desktop power automate

(0) ShareShare
ReportReport
Posted on by 30

I have created a desktop flow for web automation in which I am trying to add the comment in a perticular text/comment box which has a different existing comment for each record. I am trying to use populate the text filed option with append text in advanced . however this steps is adding new comment in between existing text if the existing text is longer. For short existing text its working fine.

Could you please advise how to add the text in text /comment box in web automation after a existing text. I believe my current flow is adding the text after certain character only if the existing comment has longer character.

I have the same question (0)
  • Verified answer
    momlo Profile Picture
    1,527 Super User 2024 Season 1 on at

    Hi @Sunil_shinde , can you show some examples of both text boxes (their selectors as seen in browser dev tools) or perhaps the site is public?

    Also selector of the captured text box in the PAD.

     

    One solution that you could do is to instead of happening text:

    1. Read the current comment from the text box to %OldComment%

    2. Populate with text (replace): %OldComment%. %NewComment%

  • Sunil_shinde Profile Picture
    30 on at

    I want to keep existing comment as is and add new commnet after the existing comment. Site is not public hence can't share.

  • Sunil_shinde Profile Picture
    30 on at

    @momlo 

    I want keep the old comment and add new commnet to the comment box. I tried as reading comment from the comment box by selecting the comment box as a UI element and and the tried to add the line with append text however its giving me error as failed to read the comment.

  • Sunil_shinde Profile Picture
    30 on at

    Hey could you please help me on this please. Attached is screenshot of the text box. Last field is my comment box where I want to add comment after existing notes.

    20230213_164345.jpg
  • Pavel_NaNoi Profile Picture
    1,074 on at

    To workaround this, simply extract all of the text out of the comment box first and store it in a variable, then instead of appending to the comment box, just overwrite it with the text you've extracted + the new text you want to add

  • Sunil_shinde Profile Picture
    30 on at

    @Pavel_NaNoi thank you for your suggestion. In every record the text in comment box is different so what command I can use there to store the text as variable and then adding comment with old +new.

    Sorry but I am new user to power automate desktop so asking this agin.

  • Verified answer
    Pavel_NaNoi Profile Picture
    1,074 on at

    no worries, it should be the "Get details of element on web page", since you're in a browser.

  • Sunil_shinde Profile Picture
    30 on at

    Hey Thank you so much!!!!. It worked.

  • Sunil_shinde Profile Picture
    30 on at

    Thank you so much !!!!

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 247 Super User 2026 Season 2

#2
11manish Profile Picture

11manish 164 Super User 2026 Season 2

#3
trice602 Profile Picture

trice602 138 Super User 2026 Season 2

Last 30 days Overall leaderboard