how to add a email to watchlist
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-23-2024 05:36 AM
Hi All,
I have a requirement to add a email address in the watch list via workflow , In workflow activity I have tried to add few conditions to add the email address to watch list but its not working ,
this is the field on sc task : watch_list
email for ex: abc @ddf.com to be added to the watch list of catalog task.
Thank you,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-23-2024 05:55 AM
In the Workflow Catalog Task activity that creates the task, check the Advanced box to add a script, then try something like
task.watch_list = 'abc@ddf.com';
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-23-2024 05:58 AM
Can you share what you did? I just tried it on my instance with a simple 'Set Values' action and there you can just select the field and add it (comma separated). If you are on a Requested Item flow, you may need to use the 'run script', but also there, you can just set it like that.
I am not sure if you are just setting this email address, or if you want to add it (in case there are already entries in the field), but on my PDI, it just works.
Please mark any helpful or correct solutions as such. That helps others find their solutions.
Mark