Use the Input to Output Merge Mappings dialog to map a task input message element to a task output element of the same type.
When a task form is generated, the form's input and output sections are generated as separate sections. In cases where the task's input and output messages have the same or similar elements, this leads to a lot of redundancy in the form that is generated. For example, in the case where the input and output messages are exactly the same, the input section provides a read-only view of the data, and the output section provides an editable view of the same fields. Also, initially, when the form is loaded, the output section would be empty and the task owner would have to reenter data from the input fields to the output fields. The use of merge mappings in these scenarios makes the form simpler and easier to use.
Merge mappings is a way to specify that certain sections of the input and output are the same, and are to be treated as such. When such a mapping is specified, the generated task form shows a consolidated view of those mapped elements. The fields contain initial values from the task's input data, and when the task form is saved, the values are saved to the task's output elements.
When you create a new task form, be sure to select the checkbox for Merge input and output fields. The task form wizard presents a dialog for you to add individual mappings between input fields and output fields.
For each element in input that needs to be mapped to an output element, create a new entry in the mappings table. Select
to open the Merge Mapping dialog and select an input element and an output element. Validation messages in this dialog assist you in selecting compatible entries.