Digital Exchange

last person joined: 5 hours ago 

This community is a place to discuss the Blue Prism DX and all of the assets hosted there.
#marketplace
#assets
Expand all | Collapse all

Is there a method to get a field in a collection by index without using Loop?

Jump to Best Answer
  • 1.  Is there a method to get a field in a collection by index without using Loop?

    Posted 09-21-2019 16:01

    I'm new in BluePrism, I have a collection named ToDate, and it had 1 column named Column1, i want to get the value of the second row, so i try [ToDate.Column1.Row(2)] and it doesn't work, What can i do?

    --------------------------------------------------
    Disclaimer: This content was auto-posted from Stackoverflow. The original Stackoverflow question is here Stackoverflow Post, posted by Medbouk.


  • 2.  RE: Is there a method to get a field in a collection by index without using Loop?
    Best Answer

    Posted 09-22-2019 07:59
    Hi Medbouk,

    Thank you for using Blue Prism.

    Please take a look at our Digitial Exchange area (DX), there is a VBO called Utility - Collection Manipulation. This provides a lot of extra functionality for working with collections. You should be able to find it here. https://digitalexchange.blueprism.com/dx/entry/9648/solution/blue-prism-collection-manipulation

    You will need to sign up to the DX if you aren't already a member.

    I hope this helps, please come back to the forum if you need anything else.

    regards

    Geoff Hirst
    Consultant
    Partner Integrations for the Digital Exchange.


    ------------------------------
    Geoff Hirst
    Partner Pre Sales
    Blue Prism
    ------------------------------



  • 3.  RE: Is there a method to get a field in a collection by index without using Loop?

    Posted 4 days ago
    Try to filter your collection with some criteria and result of it is your value in Row 1 of 1

    ------------------------------
    raviteja chintala
    ------------------------------



  • 4.  RE: Is there a method to get a field in a collection by index without using Loop?

    Posted 2 days ago
    Hi,

    to make it even more explicit as Geoff wrote you need to use Utility - Collection Manipulation VBO. There is an action Read Collection Field. You need to enter values for Input and Output (to get the value) tabs. See two screen shots below.

    Read Collection Field/Input

    Read Collection Field/Output

    Regards,

    ------------------------------
    Zdeněk Kabátek
    Head of Professional Services
    NEOOPS
    http://www.neoops.com/
    Europe/Prague
    ------------------------------