Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

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 ?

I tried writing Java Code but not sure how to implement that code in RTC. Could anyone help me how I can achieve my requirement ? Is RTC already having this type of functionality ,if so from where I can get the source code and do necessary changes as per my requirement ?

0 votes



2 answers

Permanent link
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
  • A follow up action/participant
  • An Asynchronous task
  • An Event handler

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.

0 votes


Permanent link
 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.

0 votes

Your answer

Register or log in to post 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.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 12,019
× 1,700

Question asked: Feb 02 '16, 7:38 a.m.

Question was seen: 3,329 times

Last updated: Feb 02 '16, 8:31 a.m.

Confirmation Cancel Confirm