576 Implementing Web Applications with CM Information Integrator for Content and ODWEK
dataManagement.setDataObject(itemBean);
dataManagement.retrieveItem();
session.setAttribute("item", itemBean);
CMBDocRoutingQueryServiceICM drQService =
connection.getDocRoutingQueryServiceICM();
// Create a workpackage using the passed in PID
CMBWorkPackageICM wp =
drQService.getWorkPackage(java.net.URLDecoder.decode(request.getParameter("wpPI
D")), true);
// Create a CMBProcessICM form the name in ithe workpackage and the routes
it has
CMBProcessICM process = drQService.getProcess(wp.getProcessName());
Collection route = process.getRoute();
Iterator routeIterator = route.iterator();
while (routeIterator.hasNext()) {
CMBRouteListEntryICM rlEntry = (CM