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??
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
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??
Maybe the following method from IWorkItemCommon will help you:
ICombinedWorkflowInfos findCombinedWorkflowInfos(IProjectAreaHandle
projectArea, IProgressMonitor monitor) throws TeamRepositoryException;
--
Regards,
Patrick
Jazz Work Item Team