* @should return the state with the matching id
* @should return the state with the matching uuid
*/
@SuppressWarnings("deprecation")
public static ProgramWorkflowState getState(String identifier) {
ProgramWorkflowState state = null;
if (identifier != null) {
try {
identifier = identifier.trim();