Skip to main content
ankushs0002
Known Participant
February 15, 2024
Solved

expression evaluation error at function fn!content_appian_internal Null argument are invalid

  • February 15, 2024
  • 7 replies
  • 0 views

I am facing an issue where i am getting expression evaluation error during file upload (line number 688)

Best answer by stefanhelzle0001

Use integer in the database and "Document" in the CDT/Record and rule inputs.

7 replies

stefanhelzle0001
Brainy
February 15, 2024

Some hints here:

 [mention:8fce9909583444dbaf03ec199d97caad:46448885d0e64133bbfbf0cd7b0fd6f7] 

ankushs0002
Known Participant
February 15, 2024

Hi [mention:126a676c85024855948336691b0a7b92:e9ed411860ed4f2ba0265705b8793d05] ,

Thanks for redirecting me to this link very helpful. But here is another situation.

Let me explain my scenario,

I have used file upload in interface  and currently saving document into the cdt fields named brokerConfirm & otherDocumentation & both these fields are of type text..

what i am thinking now that i have to create another rule input and its type will be document
and then i can use this rule input in order to save the dcoument first before saving it to the actual CDT field. 

Please let me know is it right approch ??

stefanhelzle0001
Brainy
February 15, 2024

Trying to store document references as text is no good idea. Appian stores document references using integers. The data type "Document" manages that transparently. I highly recommend to use the types "Document" or, if not available, "Integer".