Hi Marina,
The reason you are facing this error is because you are trying to convert a whole collection into a single date item which is not possible.
The way you can achive your use case is by first creating an output collection with a date column which would have no rows initially.
Then you need to iterate though your input collection which has all the dates with the time stamps using Loop stage. Then once you are within the Loop stage, add a blank row to your output collection using '
Add Row' action from '
Internal - Collections' VBO and then post this you use a calculation stage and write the expression:
ToDate([Sorted Collection.Date column])
and store the same into Output Collection.Date column
Here the names of the collections and the column will depend on how you are defining them in your case, but this is the overall approach that you need to follow.
------------------------------
----------------------------------
Hope it helps you and if it resolves you query please mark it as the best answer so that others having the same problem can track the answer easily
Regards,
Devneet Mohanty
Intelligent Automation Consultant
Blue Prism Community MVP | Blue Prism 7x Certified Professional
Website:
https://devneet.github.io/Email: devneetmohanty07@gmail.com
----------------------------------
------------------------------
---------------------------------------------------------------------------------------------------------------------------------------
Hope this helps you out and if so, please mark the current thread as the 'Answer', so others can refer to the same for reference in future.
Regards,
Devneet Mohanty,
SS&C Blueprism Community MVP 2024,
Automation Architect,
Wonderbotz India Pvt. Ltd.