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 04:27 AM
can the above script has any adverse effect on the system? like slowness or updating the other records wrongly.
Sorry, i might be asking a silly question her but i dont know it is this script or some issue my system is experiencing slowness.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-04-2021 04:37 AM
Firstly the above script will run only on creation of sc_task (conditions after insert Br)
since we are reading sys_journal_field, it could be slower but it should not impact as we are filtering there also by request_item.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-04-2021 04:37 AM
I suggest you test these scripts first on background using 1 static ritm sys_id
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-04-2021 04:59 AM
i tried but the BR on catalog task is not working.
PLease suggest.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-04-2021 05:17 AM
The Br on catalog task runs only on insert. Create a catalog task for an ritm and then test it.
Add logs and check to confirm if its entering the BR.