- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-08-2024 12:07 AM
how to populate most recent work notes in the list view plz Respond
Regards,
APV Babu
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-08-2024 12:40 AM
Hi @APV Babu ,
If you bring the Work notes column on the list view, it shows all worknotes entries on the list layout.
You can create one custom String field and create before update business rule with conditions "Worknotes changes" to update the latest worknote comment in that custom field and bring that custom field on the list layout.
Please see the below details.
Screenshot 1: Field creation.
Screenshot2: Business Rule Script
Script:
**Note:
var notes = current.work_notes.getJournalEntry(-1); // -1 for all the work notes value , 1 for latest work notes value
Please hit the like button if my suggestion has helped you in any way.
Please mark correct if my response has solved your query.
Thanks & Regards
Jyoti Jadhav
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-08-2024 04:23 AM
Is it Dom Manipulation?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-08-2024 04:32 AM
This line "match(/\n.*/gm).join('').replace(/^\s*\n/gm, "")" is working..
Thanks & Regards
APV Babu