Hi Vinod,
Whenever you interact with any application using Blue Prism, Blue Prism has its own internal methods/code stages of grabbing that data and converting it to a collection with how the data format seems to be. What you are asking is to decipher the way in how Blue Prism is trying to decode those field types which might not be in scope of ours as we can only determine what is the data type once the data has been grabbed by Blue Prism's code stage or any internal coding framework. This ask has to be either handled at the application end or you need to always forcefully cast it to the specific data format once Blue Prism grabs the data for you.
I will shed some light on both of these approaches:
If you want to allow a specific format to be included changes need to be done at the excel side where you can change the formatting of any column and in case of API you will have to change the back end code of the API to always restrict the data types to be of a common format.
If you are at times getting the data as 'Date/DateTime' type of data my suggestion would be to cast the data into a specific type always no matter what type of data you get. You can have a similar collection with the same column name as a text type and just use a calculation stage to forcefully cast it in that way.
------------------------------
----------------------------------
Hope it helps you out and if my solution resolves your query, then please mark it as the 'Best Answer' so that the others members in the community having similar problem statement can track the answer easily in future
Regards,
Devneet Mohanty
Intelligent Process Automation Consultant | Sr. Consultant - Automation Developer,
Wonderbotz India Pvt. Ltd.
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.