Blue Prism Product

last person joined: 2 hours ago 

This community covers the core Blue Prism product.

Expand all | Collapse all

Delete specific row from a collection

  • 1.  Delete specific row from a collection

    Posted 10-20-2014 05:53
    Is there anyway to tell BP to delete a specific row(s) from a collection other than the first or current row?


  • 2.  No, I'm afraid there's no

    Posted 11-05-2014 20:18
    No, I'm afraid there's no random access for collections; ie. you can't read from, write to or delete an arbitrary row in the collection.


  • 3.  How do we remove the first

    Posted 08-03-2017 12:04
    How do we remove the first row ?


  • 4.  You cannot delete, but you

    Posted 08-03-2017 15:56
    You cannot delete, but you can copy specific rows from a collection to another collection using a Collection Manipulation Utility.


  • 5.  You can extend the Collection

    Posted 08-31-2017 17:35
    You can extend the Collection Manipulation Utility and add a code stage to delete a specified row. Try duplicating an action like Copy Row where you need to supply an index and change it, placing a collection.Rows(index).Delete() somewhere and output a new collection


  • 6.  you can do via code stage.

    Posted 09-05-2017 13:02
    you can do via code stage.


  • 7.  Depends on details, but you

    Posted 09-05-2017 16:55
    Depends on details, but you could probably use 'Filter Collection' action in 'Utility - Collection Manipulation' BO. Filter would be something like ""Field 'valueyoudontwanthere'"", as Output select same collection as input and there you go.


  • 8.  Do you know before hand what

    Posted 09-11-2017 11:52
    Do you know before hand what rows to delete you could just loop the collection with a counter and in a decision stage delete the row when the counter reaches the specific number.


  • 9.  Supporting joakimeklund.

    Posted 09-11-2017 15:14
    Supporting joakimeklund. This is by far the best method. When you establish which row needs to be deleted. - Start a loop; - Everytime a loop runs add 1 - When Row to be deleted is the row of the loop, use object - Internal - Collections - Action Remove Row.


  • 10.  RE: Delete specific row from a collection

    Posted 17 days ago
    If you wanna remove rows without any logical condition then this solution can help.

    Let's say you wanna keep only 1st row and remove all other rows OR you wanna keep the first 5 rows, 10 row,s etc any number of rows that you're sure of,

    Using the Copy Rows action, you can pass start row and from there how many rows you wanna copy. So in the above example, it will keep only the first row and remove all others.

    ------------------------------
    Thanks & Regards,
    Tejaskumar Darji
    Sr. RPA Consultant-Automation Developer
    ------------------------------



  • 11.  RE: Delete specific row from a collection

    Posted 10 days ago
    You can extend the Collection Manipulation Utility and add a code stage to delete a specified row.

    Try duplicating an action like Copy Row where you need to supply an index and change it,

    placing a collection.Rows(index).Delete() somewhere and output a new collection
    --------------------------
    Optics4birding


  • 12.  RE: Delete specific row from a collection

    Posted 10 days ago
    Hi

    You can delete rows which aren't the first or last row you just need to loop through the collection until you find the row you need to delete. Of course this assumes you have a way of identifying the row required to be delete using some criteria. Use the object in Internal Business Objects - Collections and action Remove row.  The input is the collection name where the row is to be removed but it doesnt allow you to enter the row number or anything so it will delete whatever row your collection is currently on. If your ok with coding you could make a copy of this action and then amend it to accept a row number but if you are ok with using a loop to get the correct row then this will work fine for you. 



    ------------------------------
    Michael ONeil
    Technical Lead developer
    Everis Consultancy
    Europe/London
    ------------------------------



  • 13.  RE: Delete specific row from a collection

    Posted 9 days ago
    Hi,

    Try the below DX asset..! Hope this helps..!

    https://digitalexchange.blueprism.com/dx/entry/78038/solution/spgmi--utility-collection-booster


    Thanks..!

    ------------------------------
    Jahangir Khan
    ------------------------------



Welcome to the Blue Prism 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

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 can help your organization and how much it will cost to get started, please Contact our Sales department.
Blue Prism 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.