Hi All
Newbie to Appian.
Trying to find, by date & time, the latest (most recently uploaded) document in a folder; this is as far as I have got in an expression I am playing around with:
a!forEach(
items: folder(1234, "documentChildren"),
expression: document(fv!item, "dateCreated")
)
Any good examples to help me finish this off, or can anyone suggest how to loop through each document and return the newest?
Example Algorithm in pseudo code I would like translated to Appianese.
MostRecentlyUploaded = initial ‘zero date’
For Each Documents Creation Date
If Documents Creation Date > MostRecentlyUploaded Then
MostRecentlyUploaded = Documents Creation Date
End if
End For
Return MostRecentlyUploaded /* The most recent date */
Thanks
Daniel
Discussion posts and replies are publicly visible
Thanks All
I have done the Associated and Applied Developer courses, read through most of Stefan's book, and now going through the online resources/videos/tutorials and also trying my own apps, so I am on the road! (the Great Appian Way Road). So you will probably see me again posting questions!
Thanks again for your reply's!!
daniels9627 said:read through most of Stefan's book
Very much appreciated :-) Welcome to Appian!
Pleasure!