I'm a having trouble visualizing what's happening with Send To Last and Work Items when there is a Cas Multiplier in a pipeline controlled by the DUCC Flow Controller, and I'm hoping to get some clarification.
Let's assume a pipeline like that in the Sample that contains a CR as the Job Driver, and the JP contains a CM, AE, and CC. If I understand correctly, the CR's getNext() returns a single Workitem CAS - a CAS tagged with the Workitem FS and references to data. The Work Item CAS is sent the the JP, where the CM creates multiple CASes based on these references and sends them down the pipeline. Normally, the WorkItem CAS would not continue down the pipeline after the CM (depending on configurations). The AE calls process() on each of the new CASes created by the CM, sending them to the CC, which also calls process() on each of these fragments. My question is, if SendToLast is true, what CAS does the CC call process() on? Does it receive the workItem CAS and the CASes created by the CM as a single CAS? Or, does it receive the multiple CASes from the CM, and call process() on each of those, and also receive the Workitem ( maybe before receiving the fragments)? Thanks for any clarification! Neal
