Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-30-2017 06:45 AM
The issue is with JSON.stringify. It does not generate what you are expecting, simply stating, you can not use that method to turn a GlideRecord into a JSON object with all the values.
You'll need to find some other method, such as looping through all of the elements and adding them as properties to a new object, and then turning it into JSON.