if (constraintsstring != null && !"null".equals(constraintsstring)) {
String[] constraintsArray = constraintsstring.split(sep2);
for (String constraintString : constraintsArray) {
String[] constraintUuids = constraintString.split(sep1);
WorkflowState workflowState = null;
ConstraintClient constraintClient = null;
ConstraintType constraintType = null;
if (workflowStates != null) {
for (WorkflowState tmpWorkflowState : workflowStates) {
if (tmpWorkflowState.getUuid().equals(constraintUuids[0])) {
workflowState = tmpWorkflowState;