Copy additional comments from requested item item to all catalog tasks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-04-2021 12:03 AM
Hi,
I have a requirement where i have to copy the additional comments from requested item to all the catalog tasks.Once the item is approved all the comments after the RITM is approved, should be copied to each and every catalog tasks.
How can i achieve that?
Thanks.
- Labels:
-
Scripting and Coding

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-04-2021 12:28 AM
If only interested in the last comment, then you could use:
getJournalEntry(1)
If my answer helped you in any way, please then mark it as helpful.
Kind regards,
Mark
2020 ServiceNow Community MVP
2020 ServiceNow Developer MVP
---
LinkedIn
Community article list
Kind regards,
Mark Roethof
Independent ServiceNow Consultant
10x ServiceNow MVP
---
~444 Articles, Blogs, Videos, Podcasts, Share projects - Experiences from the field
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-04-2021 12:32 AM
i want every comment mad after RITM approval to get copied on all the catalog tasks.If i use getJournalEntry(1) it will copy only last comment but if i use getJournalEntry(-1) it repeats all the comments if any fresh comment is made.
how to fix this?