Overview
Get a property value for a single object or a list of objects in a single function, which is very useful when generating display information for dropdown lists or grid columns on task forms.
Key Features & Functionality
Hi,,
I am using documents function to get expiry date for list of documents, this function returns expiry date for documents where Appian native function document() is not returning any expirydate.Which function returning correct result?
My sample code:{ JustExpiryDate: documents(getdocumentsfromfolder(1854013,true()),"expirationDate"), BeanDocumentsplugIn:a!forEach( items: merge( documents(getdocumentsfromfolder(1854013,true()),"id"), documents(getdocumentsfromfolder(1854013,true()),"dateCreated"), documents(getdocumentsfromfolder(1854013,true()),"expirationDate") ), expression: a!map( id:fv!item[1], dateCreated:fv!item[2], expireDate:fv!item[3] ) ), NativeDocumentFunction:a!forEach( items: getdocumentsfromfolder(1854013,true()), expression: a!map( id:document(fv!item,"id"), dateCreated:document(fv!item,"dateCreated"), expireDate:document(fv!item,"expirationDate") ) )}