Populate communication task BCC from Manage recipients in MIM workbench

User667175
Giga Expert

Hi all, 

Our incident manager has asked us to implement the Major Incident workbench of which we're about 90% done. As part of the feedback it has been asked if we can popualte the BCC on the communication tasks with a recipient list, managed under the "Manage recipients" option. 

find_real_file.png

I've identified the script include where you create an email object with email.recipients(to) and added email.copied(cc) and email.blind_copied(bcc). However simply adding these in doesn't pull through the information into the form. 

find_real_file.png

Does anyone have any ideas on how to pull through the information into BCC. 

find_real_file.png

 

 

Thanks,

Mike. 

7 REPLIES 7

In the Email Client Template you need to remember to remove the script from the recipients tab for To 

Sarah15_0-1672353670532.png

 

Shanti7
Tera Contributor

Hey @User667175 , have you been able to get the Recipient list added to CC/BCC? If so, could you please share the solution.

 

Thanks,

tlock
Tera Guru

This is an old question but I thought I'd post a solution in case anybody has the same requirement. Just for reference when a user clicks the "Compose" button on the Major Incident Workbench page, the email client page that loads up is a black box UI page that can't be accessed, so there isn't a way to customize recipients auto-populating any other field but the "To" field there.

The workaround is with a business rule on the email table. The business rule will intercept the email prior to it being sent, take the value from the "To" field(Recipients) and move it to the "Bcc" field(Blind copied). The end result is that users composing emails for MIM will only put recipients into the "To" field, compose the email and then hit send.

One thing to note is the BR will need to be set to run after update, since when the email record is first created, the Recipients field is empty.  Here are some screenshots of the BR and I'll attach an export of it as well.
Screen Shot 2023-10-20 at 10.10.18 AM.png

 

Screen Shot 2023-10-20 at 10.11.26 AM.png