How to: Get State Group Name (Server side API)
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.