I have a script triggered by OnObjectExit from a field called codePortalField. The script validates the input result, it goes like this:
If [not GetAsBoolean ( related::codeOk )]
Perform Script [errorDialog]
Delete portal row
Go to object [codePortalField]
The field codeOk is related to codePortalField
I don't understand the reason why the script goes on an endless loop. What's wrong with it?