add subscriber following work item category/team area
![]() Hi I want to create a follow-up action: add a pre-defined subscriber depending on work item selected category /(associated team area) someone can help me about server side code: get team area/category from the w\ork item instance during his creation? |
One answer
![]()
Ralph Schoon (62.3k●3●36●43)
| answered Jan 14 '13, 12:00 p.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
Here is an example that does create an approval and also looks into categories: http://rsjazz.wordpress.com/2012/11/30/a-create-approval-work-item-save-participant/ this shows how to use the subsciptions api, however, honestly the API on the server should look very similar and fit right into the code above: http://rsjazz.wordpress.com/2012/08/02/subscribing-to-a-work-item-using-the-java-api/
Comments I should have said, the code above finds the users by roles in the process area associated to the work item (which is determined by the category's association to the team area).
|