This section explains how late binding between two processes can be used to allow late binding for arbitrary SCA components and exports. This pattern is only to be used when other means to apply late binding such as using the BPC API are not applicable.
The solution: use a proxy process
This diagram shows how
to construct a system that will allow you to work with versions of a business
process in a system where SCA wiring is used. The key to this solution is
a proxy process that is a business process that acts as a connection
(or intermediary) between the caller and the long running process that will
potentially be versioned. The caller uses early binding to invoke the proxy
process, the proxy process uses late binding to invoke the actual process.
Thus the interaction between the caller and the actual process is implicitly
late bound. When there are multiple versions of this process in the runtime
environment, the proxy will automatically link to the most recent one.
Follow these steps to create a proxy process for the actual process, and then eventually create a new version of your process by copying its enclosing module and adjusting its valid-from dates. These steps assume that you have already created the business process that you seek to version.