It's all about the answers!

Ask a question

Change state of workitems not in accordance with the workflow

Suresh Raman (9152330) | 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?



Accepted answer

permanent link
Ralph Schoon (62.0k33643) | answered Aug 17 '12, 4:08 p.m.
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

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.