- 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 12:17 AM
Hi @APV Babu ,
There is a work Notes field available OOTB it does show most recent comments only at the top.
Thanks,
Danish
- 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 01:22 AM
Is there any way to remove Time stamp?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-08-2024 04:14 AM
Yes, There is a way to remove the timestamp.
Update the below code line:
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