Example: Reusing a nested client-side human service
This example shows how you can build a nested client-side human service and reuse it in a root client-side human service.
About this task
Assume that you want to augment an Order Confirmation task with a step to change the shipping address. As a developer, you might want to define a nested client-side human service for the Change Address step, which you could reuse in other tasks that are part of a more complex order form.
The following example shows you how to build the nested client-side human service for the Change Address step and how to insert the nested client-side human service into the root client-side human service for the Order Confirmation. For simplicity, let's assume that the root client-side human service for the Order Confirmation task already exists.
Build the nested client-side human service
Procedure
To build the nested client-side human service:
Results
Nest the reusable client-side human service
Procedure
To insert the nested client-side human service in the root client-side human service for reuse:







.
to the canvas and wire it in your diagram.

to automatically map all
the input or output nested variables that do not have a mapping to input variables of the same name
and data type in the root service. Existing mappings are not replaced.