It's all about the answers!

Ask a question

How to create a new async task processing change events.


Meghana Pandey (15111514) | asked May 13 '09, 8:55 a.m.
Can you please guide me on how to use
mechanisms provided by the repository component to declare it's own
async task processing change events.
I want to create one such task which would process and handle an event like a parent attribute change of a WI and would execute the associated handler
Can you please provide some code snippets or reference on this.

One answer



permanent link
Jared Burns (4.5k29) | answered May 28 '09, 7:47 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
On Wed, 13 May 2009 12:58:16 +0000, meghana wrote:

Can you please guide me on how to use mechanisms provided by the
repository component to declare it's own async task processing change
events.
I want to create one such task which would process and handle an event
like a parent attribute change of a WI and would execute the associated
handler
Can you please provide some code snippets or reference on this.

In order to handle change events, you wouldn't define your own async task
in the server. The Process framework already includes such a task which
reads all change events and delegates them to "event handlers" for
processing. You can provide your own event handler by creating a plugin
for the server.

(A little) documentation on how to define a new event handler is provided
in the Team Process Developer Guide in the wiki:

https://jazz.net/wiki/bin/view/Main/
TeamProcessDeveloperGuide#Adding_New_Event_Handlers


--
Jared Burns
Jazz Process Team

Your answer


Register or 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.