IManagedType managedType = getManagedType(name);
// Check the existence of the state field on the abstract schema
if (managedType != null) {
StateFieldPathExpression pathExpression = stateFieldPathExpression(expression.getStateFieldPathExpression());
String stateFieldValue = (pathExpression != null) ? pathExpression.toParsedText() : null;
if (ExpressionTools.stringIsNotEmpty(stateFieldValue)) {
// State field without a dot
if (stateFieldValue.indexOf(".") == -1) {