- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
I have a new scoped app, with a custom parent table that is extended to an incident like table.
For example:
Table1 (make extensible = true)
Table 2 (extends table = Table1)
There is no interaction/relationship to the Task table at all.
I have an Additional Comments and Work Notes fields and have added the Activities formatter, however when a comment or note is added they do not at all appear in the activities formatter.
This is my first time trying this stuff, so would someone be able to assist with this please? I will need pretty clear instructions.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
the table and the fields needs to be audited.
is that enabled?
💡 If my response helped, please mark it as correct ✅ and close the thread 🔒— this helps future readers find the solution faster! 🙏
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
Ultimately I have found that if I add the Additional comments and Work Notes fields with the same name as the OOTB fields 'comments' and 'work_notes' then I can use the OOTB activity formatter and it works exactly as wanted / expected.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
to enable auditing at table go to the Collection type dictionary entry and click Audit checkbox
💡 If my response helped, please mark it as correct ✅ and close the thread 🔒— this helps future readers find the solution faster! 🙏
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
Thank you.
I have now made sure that audit is turned on for everything and still does not show anything in the new formatter that was created
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
did you clear instance cache using cache.do and then logout and login and then add some comments or work notes?
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
Ensure both the fields are of type Journal Input and not Journal
I was able to show OOTB Activities Filter in form view and it started showing me activity log for my custom table which is not task extended
Only enabled Audit on table and not fields
see below outcome
💡 If my response helped, please mark it as correct ✅ and close the thread 🔒— this helps future readers find the solution faster! 🙏
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
Ok, So I've cleared the cache, checked the field types and as you can see below they are both Journal input
Also here are some screen shots of what I have done in following the steps that were outlined, if you can see anything incorrect, please let me know.
- Navigate to System UI > Formatters.
- Click New.
- Enter a name for the formatter, such as Activities (task).
- Select a Table.
- Enter xmlin the Formatter field.
- Leave the Type as Formatter.
- Click Submit.
- Open the form on which the new formatter should appear.
- Right-click the form header and select the appropriate option for your version:
Configure > Form Layout - Add the new formatter to the form.
- Right-click the Activityheader in the form and choose Personalize Activity to select the fields of interest.
- Step C I have not done as I do not know what it means?
- Right-click the form header and select the appropriate option for your version:
- Then we have to create system property.
- Create a system property from sys_properties table.
- with the Suffix as:
glide.ui.[custom application table name]_activity.fields
