Blue Prism Product

 View Only
last person joined: 16 hours ago 

This community covers the core Blue Prism RPA product.

  • 1.  Work Queues - Set Data by child process

    Posted 12-06-2021 14:38


    I have one main process, and couple of subprocesses (in order to increase readability of main process).
    I have "Get next item" action in main process only.
    Then my idea is to pass "item id" to subprocesses, so subprocesses can update main queue item with provided item id.
    The issue is that when I'm trying to use "Set Data" action (in Work Queues BO), in subprocess, then it gives me  exception:
    "The specified item was not locked by this business object"

    Is it sth which is not allowed in BP? So item can be only updated by exact process, which locked it?

    Michal Plich

  • 2.  RE: Work Queues - Set Data by child process

    Posted 12-06-2021 15:33
    If the item is leased, it must be updated by the process that locked it, what can be done is to assign a tag for identification.
    if the item is not leased you can filter the added TAG and decide what to do with the item

    Emerson Ferreira
    Sr Business Analyst
    Avanade Brasil
    If my answer helped you? Mark as useful!

  • 3.  RE: Work Queues - Set Data by child process

    Posted 12-06-2021 16:47
    Hi Michal,

    The solution recommended by @Emerson Ferreira is exactly how you should be going about. Only one pointer to add here, whenever you are using get next item in the Main page try to use a tag filter which you can be using while adding the work queue items to the queue. Once the items are populated and the flow goes to your 'Get Next Item' stage based on the initial tag filter that you give the item ID will be picked. Based on the tag, you can pick the Item ID and pass the same to the sub process and do the updating and then you must either unlock the item, mark the status as exception or completed. If you go for marking the item it is simple but if you are trying to unlock the item so that you can reuse it, you can probably update the tag so that it does not get picked up again when your flow goes back to Get Next Item.

    Such a scenario if is not handled via tags can result in infinite loop with that item being locked and unlocked again and again.

    Also, I would suggest before you step into the stage where you are getting this exception 'Set Data' stage while debugging manually, kindly check the status of your work queue item with the item ID you are currently working on. I highly suspect this is not in a locked state that is why you are getting this error. To resolve it you need to ensure that ​the item is locked properly using either Get Next Item action which gives you the next item based on the priority, filters( if applied) and FIFO (First In First Out) mechanism if neither of the prior two parameters are used or Get Item By ID action where you can explicitly pass any item ID to get it as the currently locked item.

    Hope it helps you and if it resolves you query please mark it as the best answer so that others having the same problem can track the answer easily

    Devneet Mohanty
    Intelligent Automation Consultant
    Blueprism 6x Certified Professional


  • 4.  RE: Work Queues - Set Data by child process

    Posted 12-07-2021 07:46
    Thank you for your answer. Really appreciate it.

    Michal Plich

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


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.