Binding a complex data structure to a Table control in a heritage coach (deprecated)
Before you begin
Before you can perform this task, you must first create the data structure and reference it from a variable in the service where you want to build a heritage coach.
About this task
In the desktop Process Designer, if you have created a complex data structure and you want to bind it to a Table control in a heritage coach, you do not have to create the table and then bind each element of the table to the appropriate variable parameter. You can create the table and the bindings automatically by dragging the data structure to the heritage coach. Web-based Process Designer only shows an XML representation of heritage coaches.
An example of a complex data structure is a private variable in an HR process used to submit requests to open new positions. You can see this process and its variables in the Hiring Sample process application. For more information, see Business process management.
At one point in the process, a General Manager must approve a submitted request. The heritage coach displays the information submitted in the requisition to enable the General Manager to make a decision. The GM Approval service (in the Hiring Sample process application) includes the requisition variable as both input and output. This enables the heritage coach to display the requisition parameters to the General Manager and then the service passes the values of the parameters in the requisition variable back to the process for processing by subsequent steps in the process.
Procedure
-
To display the values of the parameters in the
requisitionvariable in a heritage coach, click the Coaches tab. - Drag the input
requisitionvariable from the palette to the design area. - Right-click and select Delete for the parameters that should not be displayed as output text; select all remaining fields and change the Control Type to Output Text.
- Click the Section option in the properties and increase the number of columns to 2.
-
Click the Preview tab to see how the table will look when the service
runs.
When you run the tutorial process, the heritage coach displays the table with the appropriate data for the manager to act upon.
This topic only applies to BAW, and is located in the BAW repository. Last updated on 2025-03-13 12:15