How to Send Mail to group of user when State of workitem changes ?
Hi Team, I have created workitems, now my requirement is I have to automate mail sending to a group of users whenever state of workitem changes to Submitted/final ?
Second requirement is to automate mail sending for Requestor, Request Subscriber and to the group of other users whenever any state changes of workitem ?
|
2 answers
Ralph Schoon (63.6k●3●36●46)
| answered Feb 02 '16, 7:46 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
There is mail notification available in the product for the owner, creator and subscribed users.
If you have requirements beyond that, you will have to create
To start with these tasks readhttps://rsjazz.wordpress.com/2015/09/30/learning-to-fly-getting-started-with-the-rtc-java-apis/ the referenced workshop explains how to create a follow up action and how to detect state changes in the server API.
https://rsjazz.wordpress.com/2015/10/16/due-date-notifier-an-asynchronous-task-example/ shows the mail API available in the server API as well as how an asynchronous task works. I have no example for an event handler yet.
|
Hi Shruti,
I just want to share my experience that: IBM provided mail service does not support HTML rendering, So you can use Java Mail Service with content type: text/html to achieve this task in your server or client extension. |
Your answer
Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.