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-141820 in Appian 19.3 Hotfix Package B.
Apply the latest hotfix to your Appian installation or upgrade to the latest version of Appian.
Removing any pending or inactive Devops: Infrastructure connections will restore functionality to the Compare App feature. Connections can be removed with the red "x" in the right most column of the Devops: Infrastructure table:
The Devops: Infrastructure table can be found in the Admin Console under Devops --> Infrastructure.
This article applies to Appian 19.3.
Last Reviewed: October 2019