How to determine current workitem
Hello,
Wanted to know how to determine the current workitem? Regards, Sri. |
4 answers
I have the same problem. Where do I get ClientModel from?
|
nobody knows what a ClientModel is?
cause it's pretty tough to learn this stuff with no documentation. |
thanks. sounds good. but what is and how do I get a ClientModel?
|
Hello, This snippet returns the current work item: IWorkItemHandle workItem= ClientModel.getWorkItemActivationManager().getActiveWorkItem(); -- Regards, Patrick Jazz Work Item Team |
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.
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'..