It's all about the answers!

Ask a question

How to notify specific roles for a specific work item state

Mallanagouda Patil (40813) | asked Nov 19 '14, 11:05 p.m.
Is there way in RTC notify specific roles for specific when work item item is changed to particular state for ex: when work item changed to "Draft/New", notify roles (users part of this role) such as marketing & Sales only. When it moves to "In Progress", notify another set of roles/users and also use specific mail template configured.

Out of box mail notification do not help and do not want add/remove subscribers manually. It should happen automatically.

Does developing follow up action for save work item help ? Has anyone tried and working? if so please share the details so can try the same.

Thanks in advance!.

One answer

permanent link
Eric Jodet (6.3k5111120) | answered Nov 20 '14, 4:24 a.m.
this is not possible OOTB and should be addressed by

We recently had a similar request and I copy below the answer from Ralph:
The internal e-mail notification is done via an asynchronous task - the code is in the SDK. However, I think it is easier to do this via a follow up action.

For this approach almost all code is available.

In you can find the code for a follow up action using a state change.
In you can find the role API. The server side role API is very similar. Instead of the client services like IAudibleClient you use AudibleCommon and the server side IAudibleService.

Once you got the users with the roles and extract their e-mial you can use the to create and send mails.

The subscription API is also explained on . Please note, you can search for keywords such as "subscribe" in the top right corner of the homepage.

Hope it helps,

Your answer

Register or to post your answer.