Well, apparently what I wanted to do is not possible as the synchronous processing is not going to wait for the asynchronous relation to complete. What I did was to do some of the validation, then called relation. The relation callback checks the polygon and if good, then calls the rest of the validation.There has to be a better way to check for a valid polygon.Thanks anyway.
Signed in members can post, follow updates, and more. New here? Register a free account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.