Example: Reusing a nested 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.
This topic is shared by BAW, CP4BA, CP4BASaaS. Last updated on 2025-03-13 12:15