This class is used to return the results from a sub-process
invocation to the invoking activity. There is a nasty problem in
doing this which is solved by this class.
In order to merge the results properly, the calling activity must
know the formal parameters of the called process. All it does know,
however, are the package and process ids of the called process, it
does not record the key of the called process.
While normally the package and process ids may be used to lookup
the process definition and retrieve the formal parameters, it may
happen that the process definition of the called process has been
deleted while the process was running.
To circumvent this, the called process (which always knows about
its formal parameters) piggybacks the information about the formal
parameters on the process data.
(Anybody wanting to start a design discussion here should start it
with proposing a better solution.)
author: Michael Lipp version: $Revision: 1.2 $ |