Blue Prism Product

 View Only
last person joined: 23 hours ago 

This community covers the core Blue Prism RPA product.

  • 1.  Issue while extracting the data from Nested Collection

    Posted 12 days ago

    Hi,

    From the last couple of days, I started seeing a weird issue wherein I was unable to extract the data from a nested collection. My source collection has multiple nested collection within it. Below is an example:

    Sale Data (Collection)=> Product (Text), Quantity (Number), Cost (Number), Customer (Collection)
    => Customer (Collection) => Customer ID (Txt), Customer Name (Text), Customer Contact (Collection),
    => Customer Contact (Collection) =>  Customer Address (Text), Customer Country (Text), Customer Email (Text), Customer Mobile (Text)

    From this I want to extract the 'Customer Mobile'. I'm giving 'Sale Data.Customer.Customer Contact.Customer Mobile' in a calculation stage. Although this is working for some of the rows initially, It's giving error that 'Customer Mobile' field is not available in the collection.

    For troubleshooting this, I used a separate calculation stage to split each nested collection (For example, 'Calc1' to extract 'Customer' collection, 'Calc2' to extract 'Customer Contact' collection from 'Customer' collection) and then tried to get the required value from there. But, this is also giving the same error. At this stage, I observed that the collection 'Customer Contact' which I extracted using 'Calc2' is becoming empty.

    This is the first time I'm facing this error. Had anyone faced this error? If yes, how did you resolved it? Also, can you please suggest any alternative approaches? Basically, I'm trying to retrieve the data from a JSON format which got through an API Service.

    Thanks in Advance,



    ------------------------------
    Niteesh Reddy Bollu
    Lead Assistant Manager
    ------------------------------



  • 2.  RE: Issue while extracting the data from Nested Collection

    Posted 12 days ago

    Hi @Niteesh Reddy Bollu

    How are you gathering the data for this? are the nested table fields predefined or are they created when you get the data? Its likely a case that if the mobile number may not always be a field that is present in the data extraction. I would if you cant predefine the fields then one way around this is to use the action Utility - Collection - Field exists. This will tell you if the field is there and if so you can then try getting the mobile number and if not then skip that step.



    ------------------------------
    Michael ONeil
    Technical Lead developer
    NTTData
    Europe/London
    ------------------------------



  • 3.  RE: Issue while extracting the data from Nested Collection

    Posted 9 days ago

    Hi @Michael ONeil. I'm getting this data from an API Service and yes you are right, the API Service itself is missing to add keys in the JSON if they don't have any values. This is not happening in every case. Because of this, when I'm using 'JSON to collection' action, it's showing the nested collections as blank.

    Is there a way we can address this?



    ------------------------------
    Niteesh Reddy Bollu Senior Software Engineer
    Lead Assistant Manager
    exl service.com (India) Pvt. Ltd.
    Gurgaon
    9741235369
    ------------------------------



  • 4.  RE: Issue while extracting the data from Nested Collection

    Posted 9 days ago

    Hi @Niteesh Reddy Bollu

    I think you can do this if you use the Utility - Collection - Field exists action to determine if the field you need is in the current collection. Or possibly use a choice action to check for the collections you need and map them to a new set of defined collections.



    ------------------------------
    Michael ONeil
    Technical Lead developer
    NTTData
    Europe/London
    ------------------------------



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.