Multiple File Upload Error

I am using the a!fileUploadField to try and upload multiple files.  Within the rule all seems to be well but when I try to execute from Tempo I get an error (see attached).

I have tried several different things but I have not found an answer.  Any helpp would be appreciated.  Here is the code:

a!fileUploadField(
label: "Misc Document",
target: cons!ASDM_AGENCY_CREDIT_CHECK_DOCUMENTS,
value: local!miscDocument,
saveInto: {
local!miscDocument,
a!save(
ri!miscDocuments.documentId,
local!miscDocument
)
},
validations: if(
or(
fv!files.size > 20000000
),
"Attachments may not exceed 20MB. Remove: " & index(
fv!files,
"name",
where(
fv!files.size > 20000000
),
{}
),
""
)
)

  Discussion posts and replies are publicly visible

Parents Reply Children
No Data