Send Notifications to users in a list collector field

pramodkumar
Tera Expert

Hi All,

I want to send notification to users in list collector field. I have a custom table with one list collector field reference to user table. I want to send notification to all users in this field, but the notification is on different table so I cannot directly access the list collector field in notification users or groups field.

How can I send notification to all users in list collector field with business rule or email script?

 

Thanks!

10 REPLIES 10

Tony Chatfield1
Kilo Patron

Hi, assuming the list collector is referenced to sys_users, then I would think you should be able to map the list collector field directly from notifications, just like a watch_list.
If you want to use an email script you will need to push the list into an array probably with current.fieldName.split(','), then iterate through the array populating the related records email addresses into your CC or BCC field.

Hi @Tony Chatfield we are not setting any users or groups or to in notification. we need to set the users from email script, how can we do that?

Hi, your requirements are not clear, perhaps you can update this thread with clear and specific details of your configuration?

If these users are stored in a list collector field in a record in an unrelated table, how do you identify which record on this custom table contains the list that you need to use for the email you are about to send? What is the relationship between the custom table and the table that is triggering the notification?

Aman Kumar S
Kilo Patron

As you mentioned, your list collector field is on different table, do you have reference field of that record on the table for which notification is configured?

Lets take example of caller's manager, so for incident table, you can dot walk from caller to manger field to send notification 

find_real_file.png

Click on '+' icon and select the field.

If that's not the case, you will have to create a BR to trigger eventQueue to pass on list collector details or use email script to send but you can only use CC or BCC for email scripts

Best Regards
Aman Kumar

Hi @pramodkumar 

Feel free to mark correct, if your issue has been resolved, so it ends up in solved queue.

Will be helpful for others looking for the similar query.

Best Regards
Aman Kumar