Blue Prism Product

 View Only
last person joined: 17 hours ago 

This community covers the core Blue Prism RPA product.

  • 1.  Text getting identified as DateTime instead of Time

    Posted 08-04-2021 09:39
    I have a String(Text) which is formatted as Time but when I evaluate the expression, the text gets identified as DateTime. As no date is mentioned in the text, the present date(Today()) is added to it automatically.



    For e.g. Text 07:04:12 will get converted into 04-08-2021 07:04:12 if today is 04-08-2021 instead of Time 07:04:12.

    What I really want is:
    Taking a Text and deciding whether that string is a Flag, Text, Number, DateTime, etc and storing that string to it's data item after type conversion.

    ------------------------------
    Thanks,
    Naman Chauhan
    ------------------------------


  • 2.  RE: Text getting identified as DateTime instead of Time

    Posted 08-04-2021 10:27
    Hi Naman,

    Since you are dealing with text datatype hence the blue prism is considering it as "DateTime" and is appending today's date. In order to solve the issue, please use conversion ToTime method and then check if it's valid datetime. PFB the snippet for the same.
     

    Hope it helps

    ------------------------------
    Ritansh Jatwani Senior Consultant
    Consultant
    EY
    Gurgaon
    *If you find this post helpful mark it as best answer
    ------------------------------



  • 3.  RE: Text getting identified as DateTime instead of Time

    Posted 08-04-2021 22:11
    Hi Naman,

    It is bit tricky to Validate whether given string is time or not. However if you can implement same Choice logic inside a Code stage it will be very easy for you to find it out.

    Example C# Code for validating and storing it to respective data type

    TimeSpan.TryParse(input, out timeOutput)   // For Time and TimeSpan parsing
    int.TryParse(input, out intOutput) // For number
    DateTime.TryParse(input, out dateTimeOutput) // For DateTime
    bool.TryParse(input, out flagOutput) // For Flag

    Above code snippet will returns true if the input value is valid time/number/datetime/flag and stores time value to respective data item.

    Please do let me know if you have any questions.

    ------------------------------
    Srinivasa Tammineni
    ------------------------------



Welcome to the Blue Prism RPA Product Community!

Whether you’re looking to manage a complex infrastructure, maintain security and compliance, bring new products to market faster, or gain operational speed and agility in an uncertain economy, Blue Prism delivers — with the flexibility you need to create the business you want. From deployment on-premise, through a cloud service provider or as SaaS, to a skillful and adaptable digital workforce that continually expands to meet your enterprise needs, you can gain enhanced operational insight and control while your people reclaim the time they need to focus on great work.

Product PageKnowledge BaseBlue Prism Training Offering
Product Research ProgramUpdates, Releases & Announcements

FAQs

Blue Prism is intelligent automation — business-developed, no-code automation that pushes the boundaries of robotic process automation (RPA) to deliver value across any business process in a connected enterprise.

A combination of RPA with expanded cognitive and AI capabilities, Blue Prism is different than other automation technology on the market. With one Blue Prism license, you gain instant access to an already AI equipped digital workforce, along with the tools you need to build and delegate automations. Click here for more information on Blue Prism and Intelligent Automation.
To learn more about how Blue Prism RPA can help your organization and how much it will cost to get started, please Contact our Sales department.
Blue Prism RPA can be downloaded from our customer portal. If you would like to consume or download any material it is necessary to create an account on the Portal. Once you have registered, you can access the download options for Blue Prism here.
Yes! Installed on your own machine and supported by our training materials and product documentation, you can use all the features of the full enterprise product for free with our Blue Prism Trial – giving you the opportunity to learn the basics before moving to a full production implementation. Click here for more information and to download the trial.
Yes! You can access our known issue list for Blue Prism from our Support Portal.
Regardless of your industry, Blue Prism’s Digital Workforce can adhere to strict governance and compliance standards without limiting productivity. Click here for more information on how your industry can benefit from Blue Prism.