Try OpenEdge Now
skip to main content
BP Server Developer's Guide
Dynamic work item management using queues : Work item management
 

Work item management

For any work item queue, one or more performers can be specified as a comma-separated list. You can also specify performers as a mapped dataslot or as an EJB method.
Note: Queue names can be specified only for human-performer worksteps with group-by-any option.
In a group-by-any workstep, the performer list may contain a list of users, groups, and queues. At the time of activation, all the queues specified in the performer list are not expanded. Instead, the work item is available for the queue itself by creating a record in the BP Server_AvailableWorkItem table with performer as the queue name.
Performer List: user1,group1,queue1,queue2,queue3
If group1 contains five users, then for each queue, one record is created in the BP Server_AvailableWorkItem table with AvailableFor as the queue-name. For the above performer list, there are a total of nine records: user1, five users from group1, queue1, queue2, and queue3.
Note: When an available work item is assigned to one user, the records are not removed from the BP Server_AvailableWorkItem table, so that the work item can be made available again to the original group.
* Retrieving available work items
* Specifying timer action for available work items
* Completing assigned work items
* Removing user / group from a queue
* Removing a queue