It's all about the answers!

Ask a question

WorkItem state change programatically.


Sudeshna Mitra (2332831) | asked Aug 11 '12, 2:52 a.m.
Plain java Client code to change the state of workitem (like StartWorking---> Resolve ) programatically  ....any help?

Accepted answer


permanent link
sam detweiler (12.5k6195201) | answered Aug 12 '12, 12:07 a.m.
edited Aug 12 '12, 11:01 p.m.
IWorkitem
get its WorkitemWorkingCopy
set the workingcopy  workflowaction (setWorkflowAction)
so in this case it is the workflow action is 'Resolve'

you get that from the WorkflowInfo() object, (getActionIds)

you really need to look at the JavaDoc


Ralph Schoon selected this answer as the correct answer

Comments
Sudeshna Mitra commented Aug 13 '12, 2:57 a.m.

Thanks for reply,

any help on workitem state change using OSLC ????

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.