How to copy the entire activity log from the task including the field change logs to the parent form

Ranjith10
Tera Contributor

Im able to fetch the work notes and additional comments but not the field changes log. 

4 REPLIES 4

Ankur Bawiskar
Tera Patron
Tera Patron

Hi Ranjith,

below links should help you

https://community.servicenow.com/community?id=community_question&sys_id=fa9ac32ddb5cdbc01dcaf3231f96...

https://community.servicenow.com/community?id=community_question&sys_id=352097e5dbdcdbc01dcaf3231f96...

Mark Correct if this solves your issue and also mark 👍 Helpful if you find my response worthy based on the impact.
Thanks
Ankur

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

Hi @Ankur Bawiskar 

Above links states only for the comments and worknotes in the Activity history, How can i copy the other field changes into a custom string field as well.

For eg: State or priority changes as shown below:

How can i make sure everything which is captured in Activity notes to be passed into a String field?

Hi @Ankur Bawiskar @Ranjith10 , I am finding the solution for the same requirement. Could you please respond if we could copy the history/activity(updates, state changes, etc) from one record to another. We were able to copy the WorkNotes and Additional Comments using current.comments_and_work_notes.getJournalEntry(-1);

Have you found any solutions for this?