When attempting to compare two versions of a process model, the following error appears:
Cannot compare versions. The process model does not exist, the versions have been deleted, or you do not have sufficient privileges to access its data.
In the application server log, an error similar to the following is observed:
ERROR com.appiancorp.core.expr.fn.info.LogLastExceptionFunction - Expression evaluation error at function a!dod_fwk_controller [line 14]: Error in a!forEach() expression during iteration 4: Expression evaluation error at function a!dod_fwk_createDiffSection [line 65]: Error in a!forEach() expression during iteration 1: Expression evaluation error at function a!dod_fwk_iterateComponents [line 48]: Error in a!forEach() expression during iteration 3: Expression evaluation error at function a!dod_fwk_sectionsGenerator [line 103]: Error in a!forEach() expression during iteration 1: Expression evaluation error at function a!dod_fwk_createDiffSection [line 65]: Error in a!forEach() expression during iteration 4: Expression evaluation error at function a!dod_fwk_createDiffSection [line 65]: Error in a!forEach() expression during iteration 4: Expression evaluation error at function a!dod_fwk_createDiffComponent [line 94]: Illegal newline character found in: =if( isnull(pv!user), pp!initiator, pv!user )_0 com.appiancorp.core.expr.exceptions.ExpressionRuntimeException$AppianExceptionProvider: Expression evaluation error at function a!dod_fwk_controller [line 14]: Error in a!forEach() expression during iteration 4: Expression evaluation error at function a!dod_fwk_createDiffSection [line 65]: Error in a!forEach() expression during iteration 1: Expression evaluation error at function a!dod_fwk_iterateComponents [line 48]: Error in a!forEach() expression during iteration 3: Expression evaluation error at function a!dod_fwk_sectionsGenerator [line 103]: Error in a!forEach() expression during iteration 1: Expression evaluation error at function a!dod_fwk_createDiffSection [line 65]: Error in a!forEach() expression during iteration 4: Expression evaluation error at function a!dod_fwk_createDiffSection [line 65]: Error in a!forEach() expression during iteration 4: Expression evaluation error at function a!dod_fwk_createDiffComponent [line 94]: Illegal newline character found in: =if( isnull(pv!user), pp!initiator, pv!user )_0 (APNX-1-4198-000)
This issue has been hotfixed via AN-133660 in:
Apply the latest hotfix to your Appian installation or upgrade to the latest version of Appian.
If not on a fixed version, to ensure future versions of the model do not encounter issues:
This article applies to Appian 19.1 and later.
Last Reviewed: September 2022