How do I copy one array (i.e. List) to another in a business rule?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-24-2017 08:51 AM
I need to copy an array (List) from the Idea table to a new Project record that has another field setup exactly the same way. A straight-up 'setValue' doesn't work.
- Labels:
-
Scripting and Coding
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-01-2021 09:20 AM
Hi Shane,
That worked perfectly. Thanks for that. Another question is that if i want to get the same value displayed in the task approval notification as well, how do i do that?
Thanks
Surabhi
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-01-2021 09:28 AM
This issue is sorted as well.
Thanks for all the help Shane. Really appreciate it. 🙂
Thanks,
Surabhi
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-01-2021 10:31 AM
No problem at all. I was going to say you should post that issue elsewhere anyway. 😉
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-31-2024 02:14 AM
var copiedList = new JSONParser().parse(JSON.stringify(sourceList));
