KB-2395 Error when deploying a process model with semantic search similarity score field in expression node output
Symptoms
- Deploying a process model that calls semantic search in the output of an expression node fails with error:
Missing Precedent .... Details: Cannot invoke "java.util.List.equals(Object)" because "this.relationshipPath" is null (APNX-1-4198-000) (APNX-1-4071-003)
- The error specifically occurs when referencing a similarity score field in the query output, such as:
recordType!{RECORD-TYPE-UUID}SCC Sample Record Type.searchResults.{FIELD-UUID}Sample_Field_Name.{similarityScore}similarityScore
Cause
This issue has been reported to the Appian Product Team. The reference number for this issue is AP-66295.
Action
Move the semantic search call to an expression rule, then call that expression rule in the script task output instead of directly embedding the semantic search query in the script task's Custom Output expression.
Affected Versions
This article applies to Appian 26.6 and later.
Last Reviewed: August 2026
