after the requested item we need pre populate the user group mail in the watchlist and worknotelist
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
â05-03-2024 04:43 AM
How to configure the after submit the requested item we need pre populate the user group mail in the Watch List and Work Notes List
1 REPLY 1
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
â05-03-2024 08:13 AM
Hi Siva,
Assuming that you know the group mail, its just a couple of lines of code. You might want to consider doing it as a before insert since the data will be part of the item from the start. The script is something like this:
current.work_note = <your value>;
current.watch_list = current.watch_list + <your value>;
If you do this in a before insert script make sure that you don't have a current.insert() or current.update() statement because that can put you in an endless loop.
Hope that helps.
:{)
Helpful and Correct tags are appreciated and help others to find information faster
:{)
Helpful and Correct tags are appreciated and help others to find information faster