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 :
Customer experience | Sales, Customer Insights,...
Suggested answer

Workflow to populate multi line text box

(0) ShareShare
ReportReport
Posted on by 140

Hello, 

I had a request today that I have been working on writing a workflow for. But bascially the client wants two fields that they update reguarly to populate a running list of the changes to those fields. Today they currently enter date and copy and paste text manually. 

The two fields are Last Contact Date: (Date Only) Subject: (Single line of text (100 characters)) then they copy below to a Detail field which is a Multi Lines of Text 2000 characters.

I was able to write a workflow using the append with operator and it puts the data there correctly when first ran. But when edit text and run workflow again it overwrites it.

So basically they want the following in the detail field and these values would come from the Last Contact Date and Subject fields in the form. 

02/26/2020 - Test3

02/22/2020 - Test2

02/21/2020 - Test1

I cannot seem to find a way to do carriage return and append to the field without overwriting it. Does anyone know if this is possible?

Thanks,
Chris

I have the same question (0)
  • Suggested answer
    meelamri Profile Picture
    13,216 User Group Leader on at
    RE: Workflow to populate multi line text box

    Hi,

    You can use JavaScript for this scenario.

    Your JS will automate the Copy/Paste. Store the current multi lines in a variable (OnLoad Event). Then add your new line (OnChange Event).

  • chrisc5431 Profile Picture
    140 on at
    RE: Workflow to populate multi line text box

    Mehdi,

    Thanks for quick response. I have only written javascript that looks up values or formats. Never one that would hold data as a variable. Do you have any examples you could share?

    Thanks,

    Chris

  • Suggested answer
    Kokulan Profile Picture
    18,054 on at
    RE: Workflow to populate multi line text box

    Hi

    Yes its possible and please see below screenshot as to how you can achieve this.

    6708.ScreenClip-_5B00_15_5D00_.png

    Hope this helps

  • meelamri Profile Picture
    13,216 User Group Leader on at
    RE: Workflow to populate multi line text box

    Hi Chris,

    I recommend Kokulan's approach. 

    Thank you Kokulan Eswaranathan for the tip.

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…

Pallavi Phade – Community Spotlight

We are honored to recognize Pallavi Phade as our Community Spotlight honoree for…

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
Tom_Gioielli Profile Picture

Tom_Gioielli 185 Super User 2025 Season 2

#2
#ManoVerse Profile Picture

#ManoVerse 98

#3
Pallavi Phade Profile Picture

Pallavi Phade 60

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans