I am getting this error when importing Application in an environment.
The recordType [id= uuid=13eb9112-5a87-4853-a549-499536e89c3c] was not imported because a required precedent is missing: java.lang.reflect.UndeclaredThrowableException (APNX-1-4071-006)
Any clue why I am getting this import error? and how this can be resolved?
Discussion posts and replies are publicly visible
In the application options (next to the Security Summary) - section D in the image below - Missing Precedents - does it mention any object as missing precedent in the app you are trying to export?
This could also appear as the result of a cascading missing precedent if other things in the package failed to import (for example, if an import property was not provided). If you dig deeper into the deployment log it may indicate more precisely what object is missing and causing this error.
When you are inspecting, Appian might show other like dataStore XXX "XXX Tables": The dataStore [id= uuid=_a-0000e9a6-be52-8000-8f81-01ef9001ef90_6202585] was not imported because a required precedent is missing: datatype [uuid={urn:com:appian:types:ABC }ABC_QWE location=Data Store Entity > Data Type] cannot be found.
When you fix the above issue, The java.lang.reflect.UndeclaredThrowableException issue will be automatically resolved. As this error is caused because the relevant object is not getting imported due to some other problems. The data store issue in this case.