
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-11-2021 09:38 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-11-2021 10:31 PM
Hi,
Then you can use before insert BR on your child table
You will have to query this table with the parent record sys_id
table - sys_history_line
Query - set.id = <parentSysId>
Then get all the activities with old and new value and put in the string field
Regards
Ankur
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-11-2021 09:56 PM
Hi,
If the table is audited then you can check this from
1) History calendar
2) History List
Regards
Ankur
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-11-2021 09:59 PM
Thanks for yor reply. But how can get this activity value in script. I want to add parent activity logs in child record in string field.Is there any method to get activity log data.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-11-2021 10:10 PM
Hi,
It won't happen OOB.
If you wish to store it in some custom field then you will have to build logic around this whenever parent is updated and update the change in the custom field on child record
Regards
Ankur
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-11-2021 10:14 PM
Thanks Ankur for your quick reply. I don't want it at everytime.At the time of child creation I need to display just activity logs of parent fields in string field. (Only one time). So is there any way to get that whole activity log.