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

how to configure event handler in process configuration

I'm implementing a new event handler. As an example I look at the CreateVerifyTask.java of the com.ibm.team.workitem.service plug-in. According to this example, to enable an event handler one should insert the corresponding <event> element into the process specification. The example of the <event> element syntax was as follows:
<event>
<handlers>
<handler>
...
</handler>
</handlers>
</event>
However, it seems that the process configuration schema has been changed since writing this example. Instead of <event> element the <change> element is expected, which doesn't contain <handlers> element. Instead, <followup> element is expected under the <change>.
I'm using Beta2a version of Jazz.
Should I specify my event handler as a followup action? Or, may be event handlers are no longer supported and followup actions (former participants) should be implemented instead?

1 vote



2 answers

Permanent link
Event handlers are still supported. We unified the concepts for
operations and events. Both now support follow-up actions. Here is what
an event handler specification looks like inside the behavior node:

<change>
<followup>
<followup>
.....
</followup>
</followup>
</change>


Kai
Jazz Process Team


kofman wrote:
I'm implementing a new event handler. As an example I look at the
CreateVerifyTask.java of the com.ibm.team.workitem.service plug-in.
According to this example, to enable an event handler one should
insert the corresponding <event> element into the process
specification. The example of the <event> element syntax was as
follows:
event
handlers
handler
...
/handler
/handlers
/event
However, it seems that the process configuration schema has been
changed since writing this example. Instead of <event> element
the <change> element is expected, which doesn't contain
handlers> element. Instead, <followup> element is
expected under the <change>.
I'm using Beta2a version of Jazz.
Should I specify my event handler as a followup action? Or, may be
event handlers are no longer supported and followup actions (former
participants) should be implemented instead?

0 votes


Permanent link
Thanks!

Alex

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
× 10,941

Question asked: Apr 24 '08, 5:22 a.m.

Question was seen: 6,457 times

Last updated: Apr 24 '08, 5:22 a.m.

Confirmation Cancel Confirm