Personalized Community is here!
Quickly customize your community to find the content you seek.
Have questions on moving to the cloud? Visit the Dynamics 365 Migration Community today! Microsoft’s extensive network of Dynamics AX and Dynamics CRM experts can help.
2021 Release Wave 1Discover the latest updates and new features to Dynamics 365 planned April 2021 through September 2021.
Release overview guides and videos Release Plan | Preview 2021 Release Wave 1 Timeline
The FastTrack program is designed to help you accelerate your Dynamics 365 deployment with confidence.
FastTrack Program | Finance and Operations TechTalks | Customer Engagement TechTalks | Upcoming TechTalks | All TechTalks
Is there any possible ways to update a single line of text data field without overwriting existing data?
For example, I execute the workflow and update a field called name list with data A.
And then, I execute again the workflow to update name list with data B.
Is there any ways to concatenate both data A and B and display as A - B in the name list data field?
Thanks in advance
Hi Dylan ,
You can write plugin for that , you will get the existing value from pre-image and from context or post image get the new value and concatenate and update in same field.
As suggested above it can be done in plugin but if you would like to do this in a workflow, please see below for an example
Your workflow could check if the Name List has value, if its empty, no need to add - and just set the value as shown below
If the name list already has value, you can append as shown below. You just have to include the current value of the name list field and then a - and the new value to be appended.
Your workflow steps to set the value should look like the following
If you are doing this in many workflows, you can move the above steps into a Custom Action and then call the action wherever you want to update the name list. Your action just have to take the new value as the parameter and append to name list.
If you want the appending to happen instantly (synchronously), you can convert the workflow to real-time
Hope this helps
Business Applications communities