You are currently reviewing an older revision of this page.
When attempting to use the Compare App feature across two environments with an established Devops: Infrastructure connection, the following error message appears:
This same error will appear in the application server log as well:
com.appiancorp.exceptions.LocalizedAppianRuntimeException$LocalizedAppianException: Expression evaluation error [evaluation ID = XXXXXXXX] : Error in a!forEach() expression during iteration 1: Expression evaluation error at function a!dod_api_app_getAppianVersionOfRemoteEnv [line 28]: com.appiancorp.connectedenvironments.EnvironmentCommunicationException: Response Code = 302 (APNX-X-XXXX-XXX) Caused by: com.appiancorp.core.expr.exceptions.ExpressionRuntimeException$AppianExceptionProvider: Expression evaluation error [evaluation ID = XXXXXXXX] : Error in a!forEach() expression during iteration 1: Expression evaluation error at function a!dod_api_app_getAppianVersionOfRemoteEnv [line 28]: com.appiancorp.connectedenvironments.EnvironmentCommunicationException: Response Code = 302 (APNX-X-XXXX-XXX)
This issue has been addressed via AN-142355 in Appian 19.3 Hotfix Package B.
Apply the latest hotfix to your Appian installation or upgrade to the latest version of Appian.
This issue is a result of case-colliding CDT names being exported in a patch via the Devops: Infrastructure connection (e.g. one CDT with name = NAME and one CDT with name = name being added to the same patch.) Removing all instances of case-colliding CDT names from your patch should resolve this issue.
This article applies to Appian 19.3.
Last Reviewed: October 2019