Our current code is throwing an error while finding the total size of the document array
local!docSizeList: if( rule!APN_isEmpty( local!items ), {}, apply( a!fileUploadField_17r1( value: _ ), local!items.document ).uploadedDocumentSize ),
Do you recommend any other way to find the total size of a document array ?
Discussion posts and replies are publicly visible
local!docSizeList: if( rule!APN_isEmpty( local!items ), {}, apply( document( _, "size" ), local!items.document ) ),
I changed the code as above . used the document function . but i am getting some type cast error below
com.appiancorp.suiteapi.common.exceptions.AppianException: The passed parameter(s) are of the wrong type. Received the type Text. (APNX-1-4158-003)