It's all about the answers!

Ask a question

How to: Get State Group Name (Server side API)


Arun Batra (14612427) | asked Feb 07 '13, 1:12 a.m.
IWorkFlowInfo#getStateGroup(newState.getState2())
The above code returns an integer representing a state group category.
0 if the state in consideration doesn't belong to any group
1 if the state in consideration belongs to any state group in the Open Category
2 if the state in consideration belongs to any state group in the Closed Category
4 if the state in consideration belongs to any state group in the In Progress Category

Question: How to obtain the original state group name (not its category) to which a state belongs?

Any hints are welcome.

Be the first one to answer this question!


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.