Populate communication task BCC from Manage recipients in MIM workbench
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-18-2019 07:41 AM
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.
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.
Does anyone have any ideas on how to pull through the information into BCC.
Thanks,
Mike.
- 2,578 Views
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-18-2019 11:41 AM
So, this is something which is not supported OOB. The 'To' field is mandatory as of today on the e-mail client.
You can use a workaround:
- Override the method you found to return at least an e-mail id, which can be put to 'To'.
- Each e-mail channel is associated with an e-mail client template. In the e-mail client template, use a script like below in the BCC field
javascript: new SomeScriptInclude().someFunction(current.incident_alert);
Thanks
Soumya
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-12-2019 02:06 AM
Hi Mike,
Did you find any solution for this ?
I am looking for the same functionality.
Thanks
Kevin

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-17-2020 12:05 AM
Hi Guys,
Did anyone have a solution to this, I'm also looking for the same to be achieved for my client.
Regards,
Venkat
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-17-2020 02:32 AM
There wasn't a way to do this functionality, I had a long conversation with Hi to try and create this.
Their suggestion was the following:
- getEmailAddresses method in MIMWorkbenchUtil script include returns the email address (user/groups) from the contacts table. If there is no record available in the contact table respective to that incident alert then it returns empty. Its working for me, Follow the below steps:
- 1. navigate to the incident
- 2. Open workbench
- 3. Goto the communications tab
- 4. Under 'Internal Communication' click on the 'send' button for the 'Send Incident Notification' task,
- 5. You will see the users listed for Bcc
This was after putting the following in the notification, under bcc:
javascript: new MIMWorkbenchUtil().getEmailAddresses(current.incident_alert);
This was as far as I got with it, it was returning under the BCC but also under the TO and unfortunately I ran out of time to look at it any further. Hopefully the above helps you.