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.