Add Watch list to a catalog item and add users from the variables to the watch list
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-09-2024 05:37 AM
Hello all,
I want to add Watch list field in a catalog item and add users into it dynamically.
Explanation:
There are 4 variables in the catalog item, and out of that 2 variables are list collector variables. So, we can add n number of users into those list collector variables, right?
So, now in the watch list variable of the catalog item, I want to add all these users who are selected in these 4 variables and send the email to them once the task is updated or completed.
Can someone tell me how to do this please?
Regards,
Lucky

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-09-2024 06:28 AM
You can create an onSubmit Catalog Client script and use below code to populate the watch_list variable
var watch_list = [];
watch_list.push(g_form.getValue("var1"));
watch_list.push(g_form.getValue("var2"));
watch_list.push(g_form.getValue("var3"));
watch_list.push(g_form.getValue("var4"));
g_form.setValue("watch_list_var",watch_list.join());
Palani
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-10-2024 08:51 PM
Hello Palani Kumar,
Thanks for your reply.
So, also in my question, I have to send a notification to the watch list guys, on every update of the Catalog task.
Regards,
Lucky