It's all about the answers!

Ask a question

Progressing through a process automatically


Remy Suen (426224) | asked May 30 '07, 4:17 p.m.
Hi,

In the process tutorial, it provides an example of how one would change
from one process state to the next manually.

https://jazz.net/learn/LearnItem.jsp?href=content/docs/process/index.html#1._Update_the_Process_State_to_Reflect

This is very cumbersome and not very flexible since the project lead has
to make the change himself by hand. I would like to write something that
would allow the process state to jump to the next one once some
requirements has been fulfilled. I noticed that there is some event
handling mechanism that can be built into the process specification.

https://jazz.net/learn/content/docs/process/images/rc2_wi_save_eventhandler.png

How is this event handling invoked? I cannot find any extension points
with the 'event' or 'handle' string that seems relevant to process
control. What kind of events can I listen for? How do I declare new
events / handlers?

Thanks.

Regards,
Rem

2 answers



permanent link
Kai-Uwe Maetzel (85611) | answered May 30 '07, 4:37 p.m.
JAZZ DEVELOPER
Rem,

The relevant extension point is com.ibm.team.process.service.eventHandlers
You can find available events by using content assist inside the process
specification/customization. There is no better discoverability mechanism
yet.
Content assist looks for all registered events. Events are registered by
providing an extension to the
com.ibm.team.process.service.configurationPoints
extension point.

Kai

"Remy Chi Jian Suen" <remsuen@ca.ibm.com> wrote in message
news:f3klcc$dsh$1@localhost.localdomain...
Hi,

In the process tutorial, it provides an example of how one would change
from one process state to the next manually.

https://jazz.net/learn/LearnItem.jsp?href=content/docs/process/index.html#1._Update_the_Process_State_to_Reflect

This is very cumbersome and not very flexible since the project lead has
to make the change himself by hand. I would like to write something that
would allow the process state to jump to the next one once some
requirements has been fulfilled. I noticed that there is some event
handling mechanism that can be built into the process specification.

https://jazz.net/learn/content/docs/process/images/rc2_wi_save_eventhandler.png

How is this event handling invoked? I cannot find any extension points
with the 'event' or 'handle' string that seems relevant to process
control. What kind of events can I listen for? How do I declare new events
/ handlers?

Thanks.

Regards,
Rem

permanent link
Remy Suen (426224) | answered May 31 '07, 12:57 p.m.
Hi Kai,

Thanks for the response.

I see that the 0.6M0 client and SDK did not seem to actually include the
com.ibm.team.process.service plug-in. I have retrieved it from the
server installation so I can now see the extension point.

I have added breakpoints into CreateVerifyTask but it never gets there.
I rerun my work item query and do notice that a new task requesting for
the verification of a given defect when it goes into the RESOLVED state
is created.

Are these event handlers all run on the server side? Is it possible to
debug them myself? Could I be doing something wrong?

Thanks.

Regards,
Rem

Kai-Uwe Maetzel wrote:
Rem,

The relevant extension point is com.ibm.team.process.service.eventHandlers
You can find available events by using content assist inside the process
specification/customization. There is no better discoverability mechanism
yet.
Content assist looks for all registered events. Events are registered by
providing an extension to the
com.ibm.team.process.service.configurationPoints
extension point.

Kai

"Remy Chi Jian Suen" <remsuen@ca.ibm.com> wrote in message
news:f3klcc$dsh$1@localhost.localdomain...
Hi,

In the process tutorial, it provides an example of how one would change
from one process state to the next manually.

https://jazz.net/learn/LearnItem.jsp?href=content/docs/process/index.html#1._Update_the_Process_State_to_Reflect

This is very cumbersome and not very flexible since the project lead has
to make the change himself by hand. I would like to write something that
would allow the process state to jump to the next one once some
requirements has been fulfilled. I noticed that there is some event
handling mechanism that can be built into the process specification.

https://jazz.net/learn/content/docs/process/images/rc2_wi_save_eventhandler.png

How is this event handling invoked? I cannot find any extension points
with the 'event' or 'handle' string that seems relevant to process
control. What kind of events can I listen for? How do I declare new events
/ handlers?

Thanks.

Regards,
Rem

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.