- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-24-2022 01:16 AM
I have a catalog item which has a field "watchlist" - this is a reference field referencing to the user table. I want that whenever the ritm is created then the notification should go to the person who is selected in the watchlist. How can I do this from workflow's notification?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-24-2022 01:49 AM
then
answer=[];
answer.push(current.variables.your_Watch_list_variable_name);
answer.push(current.variables.your_request_for_variable_name);
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-24-2022 01:21 AM
You can use Notification activity in the workflow and enable advanced checkbox and set the value of answer to the watchlist variable on your catalogue item like shown below and add the email subject and body.
var answer = current.variables.watch_list_variable_name.toString();
Thanks & Regards,
Vasanth
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-24-2022 01:27 AM
If I want to send the notification to the person added in watch list as well as in the requested for variable
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-24-2022 01:24 AM
Hello
if you are using a workflow then you can use a notification activity which will be present in workflow and give the recipients like below
if its a field on RITM table use current.watch_list
if its a variable on the catalog item use current.variables.watch_list_variables_name
Hope this helps
PLEASE MARK MY ANSWER CORRECT IF THIS HELPS YOU
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-24-2022 01:28 AM
You can watchlist users and other recipients in to list as shown below,
Let me know if you have any further questions.
Please mark this as Correct or Helpful based on the impact.
Regards,
Abhijit
Community Rising Star 2022
Regards,
Abhijit
ServiceNow MVP