- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-31-2019 09:10 PM
I'm currently configuring Major Incident module. Within the Communications Plan, I need to be able to dynamically script the recipients of each of the emails that are going out from the MIM Workbench. I've done the following:
Created a Notification Email Script:
Referenced it in the Email Client Template in the Communications Plan:
Execute the comms from the MIM Workbench. I'm expecting to see myself as a recipient in that box, but it's not happening:
Anyone have any thoughts/pointers?
Solved! Go to Solution.
- Labels:
-
Scripting and Coding
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-31-2019 09:47 PM
Hi Steve,
I tried the same thing in an email client template and got the same result. However then I tried putting "javascript:" in the "CC" field definition in the email client template, and it works!
Here is the example:
You can see I tried using the following line as one recipient:
javascript:"manish.vinayak@" + "example1.com"
and other recipient after having a "," as :
manish.vinayak@example2.com
And I observed, it actually processes the Javascript as one recipient. Here is the result of that configuration:
I didn't expect it to work; but it did 🙂 Give it a try.
Hope this helps!
Cheers,
Manish
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-31-2019 10:06 PM
The values I'll be adding aren't static.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-31-2019 10:10 PM
I see, you can then try to create a script include and call it from the CC field like:
javascript: new commEmail().getCC();
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-18-2021 12:05 PM
You should look into "Recipients List".
Create a recipient list using Dynamic filter or Script.
In the communication plan definition, under the "communication contact definition" you should be able to choose a "Recipient List" instead of User or Group.
