It's all about the answers!

Ask a question

how to configure event handler in process configuration


Alexander Kofman (2663) | asked Apr 24 '08, 5:22 a.m.
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?

2 answers



permanent link
Kai-Uwe Maetzel (85611) | answered Apr 24 '08, 11:24 a.m.
JAZZ DEVELOPER
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?

permanent link
Alexander Kofman (2663) | answered Apr 24 '08, 1:41 p.m.
Thanks!

Alex

Your answer


Register or to post your answer.