cancel
Showing results for 
Search instead for 
Did you mean: 

Using the Parent/Child Relationship inquiry

RonAng
Level 5
The excerpt below is from Work Queues Guide.pdf. My question is: Why do we need to use the Get Report Data here? Why not just Get Next Data? If the goal is to know if there are unworked items for that tag, Get Next Data should be able to do it right? Thanks! Using the Parent/Child Relationship Once you have created your Child and Parent Work Queue items, the following steps outline the main process flow: ï‚· Your main process flow will get work from the main Child queue using the Get Next Item action ï‚· Once the Item is Worked and Marked as Completed or Exception, the following steps can be taken: Use the Get Report Data action to search for unworked items in the Child Work Queue with the same relationship tag as the item just worked If there are unworked items found, no further action is required and your process can continue onto the next case, skipping the following steps If there are no unworked items found with the same relationship key, it means that all the child items have now been worked Get the Parent item to work using Get Next Item. If the Parent Item is not available it means that another robot has already worked or is currently working the Parent Item. Your process can continue on to get the next child case to work, skipping the following step If the Parent item is successfully locked, it can be worked. Any Parent level actions that need to be taken by the process can be taken (i.e. sending a work complete confirmation email), and the Parent item can be marked as completed.
2 REPLIES 2

Denis__Dennehy
Level 15
Get Next Data is for working queue items.  It gets the next item to work performing all the locking logic behind the scenes that is required for multiple robots to all work the same queue.  Get Report Data is what it says on the tin - it gets data for reporting on rather than for working, it can be used as the basis for your exception reporting processes or your performance reporting processes.  Your Blue Prism consultancy contacts can provide you with some of our standard reports.

RonAng
Level 5
right. ok thanks.