It's all about the answers!

Ask a question

Change state of workitems not in accordance with the workflow


Suresh Raman (9152332) | asked Aug 17 '12, 1:47 p.m.

Hello All,

In CQ we were able to change the state of workitems to any given state by assigning it to admin role. For example, a defect was closed by mistake and the testers want it back to resolved state. By assigning it to admin, we were able to change the state to resolved or any state needed. Is there something like that in RTC or can it be implemented in RTC?

Thanks,

Suresh

Accepted answer


permanent link
Ralph Schoon (63.1k33645) | answered Aug 17 '12, 4:08 p.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
edited Aug 17 '12, 4:08 p.m.
I believe on the client side you can just set a state using the plain java Client Libraries (using setState2()). On the server you have to trigger an activity. If that is not applicable the state will end up being new. If there is no simple activity you have to create a tool that finds a series of activities to apply.

I did that. It worked and was a nice intellectual challenge too 8-)
Suresh Raman selected this answer as the correct answer

Comments
Suresh Raman commented Aug 20 '12, 9:42 a.m.

Thanks Ralph. I will try using setState.

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.