Notifications not sending to all recipients
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-07-2024 11:32 AM - edited 11-07-2024 11:34 AM
Hi all,
I'm working on adjusting a notification in one of our workflows to add more recipients, I've pushed all the recipients into the answer array and confirmed that the array is populated with the correct sys id's, but the notification is not sending to all recipients. With the current layout, it's not sending to the current.variables.requested_for user, but in the past when I had the pushes ordered differently, it only sent to the current.variables.requested_for user
var answer = [];
answer.push(current.watch_list);
answer.push(current.requested_for);
answer.push(current.work_notes_list);
answer.push(current.variables.requested_for);
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-07-2024 12:12 PM
@syed_but_not Would this issue be solved for if the requested_for variable was mapped to the Requested For field? If you fix this at the insert stage (e.g. catalog item submission) then you should be all set.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-07-2024 12:19 PM
Our team was only asked to update the notification, that change might require discussions with the customer, regardless, pushing sys IDs into the answer array should be working properly and the issue is that it is not
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-07-2024 12:28 PM
I understand where you are coming from, but if you are storing separate values in the variable and in the field on the record, then how would you ever know who was in the variable? Seems like an easy fix that would improve data quality and prevent you from having to script anything.
Here's a post from the docs that may help: Using variables in a workflow
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-07-2024 01:11 PM
I've done this and the notification is still not sending to all recipients
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-07-2024 02:59 PM
Do all of your recipients have emails on their sys_user records?