Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
20-08-20 11:22 PM
Hi
Created a collection which contains all the files and its created date as datetime.
Need to sort it with the latest or the oldest one.
How to do it?
I can write a C# code in the code stage but I am opting out that options.
and also I have another a solution to get all the date-time difference for each file.
But need other simple solution.
Sort Ascending true false not working on Created column.
------------------------------
Preetam
------------------------------
Created a collection which contains all the files and its created date as datetime.
Need to sort it with the latest or the oldest one.
How to do it?
I can write a C# code in the code stage but I am opting out that options.
and also I have another a solution to get all the date-time difference for each file.
But need other simple solution.
Sort Ascending true false not working on Created column.
------------------------------
Preetam
------------------------------
Answered! Go to Answer.
1 BEST ANSWER
Helpful Answers
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
21-08-20 07:55 AM
I was able to sort a collection of files based on the datetime, just by using the Utility - Collection Manipulation, Sort Collection action.
I've attached an example. Change the file path to suit your needs. The example will read all of the files belonging to a configurable folder path, and then sort them.
------------------------------
James Man
Professional Services
Blue Prism
Asia/Hong_Kong
------------------------------
I've attached an example. Change the file path to suit your needs. The example will read all of the files belonging to a configurable folder path, and then sort them.
------------------------------
James Man
Professional Services
Blue Prism
Asia/Hong_Kong
------------------------------
2 REPLIES 2
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
21-08-20 07:55 AM
I was able to sort a collection of files based on the datetime, just by using the Utility - Collection Manipulation, Sort Collection action.
I've attached an example. Change the file path to suit your needs. The example will read all of the files belonging to a configurable folder path, and then sort them.
------------------------------
James Man
Professional Services
Blue Prism
Asia/Hong_Kong
------------------------------
I've attached an example. Change the file path to suit your needs. The example will read all of the files belonging to a configurable folder path, and then sort them.
------------------------------
James Man
Professional Services
Blue Prism
Asia/Hong_Kong
------------------------------
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
21-08-20 05:37 PM
Thanks
it worked fine.
------------------------------
Preetam Sikdar
------------------------------
it worked fine.
------------------------------
Preetam Sikdar
------------------------------
