Hello again,
I have created a single immediate attribute rule (triggered on Insert or Update) that does some validation of field values, and if everything is cool, updates a couple of additional fields. If the rule encounters bad values (in this case, Nulls), it should return with an errorMessage and not allow the operation to complete. The rule is working fine with every tool I have thrown at it so far, except for Planarize (with the rule disabled, Planarize does it's magic with no problem).
Just having a return {"errorMessage"...} statement present in the rule - even when it would not be accessed - causes the Planarize tool to just sit there:
hasNull = False
if (hasNull) {
return {"errorMessage":"NULL vals not allowed in CBT Fields"}
}
Planarize will work when the errorMessage is commented out:
hasNull = False
if (hasNull) {
return //{"errorMessage":"NULL vals not allowed in CBT Fields"}//
}
Any thoughts?
Thanks,
-John