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
Your error message seems to be about typecasting - it suggests to me that somewhere between your process model and user input task, the CDT array is being passed in as null to the interface rather than as an empty CDT. Can you confirm whether your ACP in the user input task is set to the correct type/etc?
Thanks for pointing me in the right direction Mike. Found the problem.
Great, thanks for confirming - so just out of curiosity (and for the sake of future designers who might find this thread), what exactly was the issue / what did you change to fix it?
The attached error when executing in Tempo. Did not have the input paramters set in one of my process model nodes.