Retrieving workflow state id without having WorkItem
Hi, I'm developing a query inside an event-handler plugin on server side. I'm trying to collect all the work-item which have a specific state.
My problem is how to pass stateId to AttributeExpression because I can't find out how to have a stateId. If I have a work-item I could use IWorkflowInfo class, but if I don't have any work-item, how can I get a workflow state?? |
2 answers
Hi, I'm developing a query inside an event-handler plugin on server Maybe the following method from IWorkItemCommon will help you: ICombinedWorkflowInfos findCombinedWorkflowInfos(IProjectAreaHandle projectArea, IProgressMonitor monitor) throws TeamRepositoryException; -- 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.