- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-16-2020 09:26 AM
Hello,
I have a UI action that transfers field values from a record to a new record in another table. I would like to transfer the comments and work notes to the new record but it does not seem to be working (See pics below)
Before
After
UI Action:
var gr = new GlideRecord('x_utsll_candidate_candidate_outreach');
gr.comments_and_work_notes = current.comments_and_work_notes;
gr.insert();
I have used this code to transfer other field values and it works, just not for the comments_and_work_notes field.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-17-2020 04:59 AM
gr.work_notes = current.work_notes.getJournalEntry(-1);
This worked ^
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-17-2020 04:52 AM
That does not work either
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-17-2020 04:59 AM
gr.work_notes = current.work_notes.getJournalEntry(-1);
This worked ^