- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-29-2022 09:42 AM
Hi All,
I have requirment which need to copy the all RITM varibles to sc_task worknotes.
Could you please help on this to achive the requirment.
Thanks all,
Varma
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-30-2022 12:58 AM
@varma2 Please try below updated code. It will fix the issues.
ServiceNow Community Rising Star, Class of 2023
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-29-2022 10:32 PM
Please share your screenshot with code.
Thanks and Regards,
Saurabh Gupta
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-29-2022 11:04 PM
Please share your screenshot with code.
Thanks and Regards,
Saurabh Gupta
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-29-2022 11:10 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-29-2022 11:35 PM
Hi,
You need to change few thing instead of "tr" you should write "current.request_itemgetRefRecord()"
First Line
var vs = new GlobalServiceCatalogUtil().getVariablesForTask(current.request_item.getRefRecord(), true);
also add at the end of code just above below comment
//notes is the variable that contains all the variables with its values including multi row variable set.
current.work_notes=notes;
Thanks and Regards,
Saurabh Gupta
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-30-2022 12:07 AM
Hi,
Have you done these changes?
Thanks and Regards,
Saurabh Gupta