Work Queues
Anonymous
Not applicable
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
14-12-16 02:17 PM
How do we implement a Parent/Child work queue on business object, because on the study materials in the portal does not cover it...Help please!
3 REPLIES 3
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
14-12-16 07:39 PM
There is no way to create a parent/child relation between queues, as you might do with DB tables. The nearest option is to store the child Item ID and/or Item Key inside the parent item, so that the parent has a record of who it's children are. The Item Data collection can contain a field with the Collection datatype, so the parent could hold a list of children. Similarly, the child could hold information about it's parent if necessary.
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
12-01-17 02:20 PM
Even I had some confusions when maintaining parent/child relationship between the queues. The given PDF have the following steps to accomplish this relation:
• Get new work from the work source (i.e. Excel, Web Service, Database, Workflow System etc...)
• Add child items to the “Child” Work Queue. Store the Item ID for the new child items so that they can be subsequently tagged
• Tag each Child item with the same “relationship key”
• When all child items are added, add a single item to the “Parent” Work Queue. The Item Key will be the same as the relationship key Item Tag added to the child items.
• The item data for the Parent item could include all the item keys of the child items, this can then drive the output once all child items have been worked.
• Tag each item with the Item Tag “Parent Created”
Point 4 from above steps states that, we will have to add the single item to the parent queue when all child items are added. How this could be done?
Also, in one single item of the parent queue, how to maintain all the item keys of the child queue?
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
13-01-17 08:57 PM
You need to add the children first to find out what the IDs of the items are (as an output from Add to Queue). Then when you add the parent item you can include the child IDs within it's data collection, either as a nested collection, or maybe as a CSV text.Alternatively you could add the parent first then include its ID with every child you subsequently enqueue.
