Transform mapping - Load data - to load only newly added comments instead of whole thread, duplicate
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-15-2025 05:14 AM
Hi Team,
I am using Load data module to load records into Case table using excel sheet. For, additional comments it is always copying whole thread each and every time, and making data look more. Can it be possible to only copy newly added comments instead of adding always thread . Please help!
Thanks for support
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-16-2025 12:14 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-16-2025 12:37 AM
You can split the additional comment with the empty line or based on the date and just extrat the first index.
try this with the source field script or transform script.
Sample:
source.u_additional_comment.split("\n")[1];
this will give you the second line from the additional comment.
Thanks
Abhit
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-15-2025 10:59 PM
Does Excel itself contain historical additional comments? If so, it is necessary to obtain the latest information in Transform map.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-16-2025 12:15 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-16-2025 12:19 AM
so you should removed it in transform map before loading to target table.