You are viewing limited content. For full access, please sign in.

Question

Question

Extracting Most Recent Date From Multi Value Token

asked on June 23, 2016

I need to build a workflow in version 9 that when a new document is added to a folder the most recent date from two date fields out of all the documents in the folder is applied to that folder. The issue I am running into is extracting the first date in the multi value token after they have been listed in descending order. I tried indexing and grabbing only the first value but it comes out blank. I also used a regular expression to grab the first date and got the same result. Any ideas?

 

 

0 0

Replies

replied on June 23, 2016

This is probably easier if you run a search for documents in that folder instead of Find Entry. You can set it to sort results by the date field in descending order and only get the first result. Then you can use the field token generated by the search repository activity without having to run a For Each loop.

0 0
You are not allowed to follow up in this post.

Sign in to reply to this post.