Creating a Service Process Interface
A service process interface allows the dynamic selection of service processes at runtime. A service process interface specifies the deployment target, events and their parameters that must be present in the service processes created using that service process interface. At runtime, any of the service processes that implement the interface may be chosen based on the data available at that time.
Using the Service Process Interface Editor, you can add the deployment targets, events and parameters you require. You must specify a deployment target. You can choose either:
The deployment target you choose depends on whether you are invoking your service processes from business processes or pageflow processes.
Once created, a service process interface can be used by several different service processes. If a service process is created using a service process interface, the deployment target, the events and parameters specified in the interface must be present in a service process that implements the interface. You can add additional events or parameters, but removing any of those required by the interface invalidates the service process.
If you do have additional parameters that are local to a service process that implements a service process interface, you can move the parameters into the service process interface by right-clicking the parameter and selecting Move Parameter to Interface. However, this option is only available for service processes that implement a service process interface in the same package, and for parameters that do not have any problems in the Problems view.
If you create a service process using a service process interface, the service process that you create inherits the deployment target, events and parameters created in the interface.