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

How to determine current workitem

Hello,
Wanted to know how to determine the current workitem?
Regards,
Sri.

0 votes

Comments

in what context?  what code is running?  if an extension (advisor/participant), it is passed in

Sam

@Sam

If I understand it correctly, Srimanth has the same problem as I have. I want to extend the RTC client and then get the current work item.

see my response to your other post.

I have changed the client behavior (extended) the client by changing the product code.. there are no general purpose extension points that I am aware of.

Thanks. I tried that too, but so far, I couldn't get it working. Since I can't get the source code. But probably this will change :)

I posted back about the source code.. you have to download it separately, called the 'sdk'..



4 answers

Permanent link
Hello,
Wanted to know how to determine the current workitem?
Regards,
Sri.

This snippet returns the current work item:

IWorkItemHandle workItem=
ClientModel.getWorkItemActivationManager().getActiveWorkItem();

--
Regards,
Patrick
Jazz Work Item Team

0 votes


Permanent link
thanks. sounds good. but what is and how do I get a ClientModel?

0 votes


Permanent link
nobody knows what a ClientModel is?
cause it's pretty tough to learn this stuff with no documentation.

0 votes


Permanent link
I have the same problem. Where do I get ClientModel from?

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,938

Question asked: May 19 '09, 9:44 a.m.

Question was seen: 6,235 times

Last updated: Nov 23 '12, 7:58 p.m.

Confirmation Cancel Confirm