The CreatorCon Call for Content is officially open! Get started here.

Notifications not sending to all recipients

syed_but_not
Tera Expert

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);

 

 

 

 

9 REPLIES 9

@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.

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

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 

I've done this and the notification is still not sending to all recipients

Do all of your recipients have emails on their sys_user records?