Agile Process : webMethods BPM Process Development Help : Working with Escalation Processes : Mapping Data Fields in the Wrapper Services
Mapping Data Fields in the Wrapper Services
The solution component ClosedLoopAnalyticsProcessProject contains all of the generated wrapper services for all process steps, and all mapping is present by default, even after a new build and upload of the process project. Manual mapping is necessary only if the process package is not present on the Integration Server, or if you have renamed the process project, which results in a new Integration Server process package with a different name after build and upload, or if you have customized the process by adding new inputs or outputs, or adding new steps.
In any of these cases, you must manually map the following fields using the default input and output mapping services:
*TaskAssignee
*DueDate
*Status
Note:  
If you build and upload the process project to a package with a different name, you must do the mapping again.
To map the default wrapper service
1. Build and deploy your escalation process project, then execute the process with the ProcessEscalation doc type using Run As > Publish as JMS Message.
2. In the process editor, right-click the Escalation Task step and click Edit Input Data Mapping.
3. From the editor Palette view, add a Map step to the Escalation_Task_InputMapService tab.
4. With the Map step selected, click the Pipeline view
5. Map the TaskAssignee field:
a. From the pub.list section of the Pipeline Palette view, drag an appendToStringList element to the Transformers section of the editor.
b. In the Pipeline In column, expand ProcessEscalation and create a mapping line from the TaskAssignee field to the appendToStringList transformer, selecting fromList in the Link To dialog box.
c. In the Pipeline Out column, expand EscalationTaskInputEnv and create a mapping line from the assignedToList field to the appendToStringList transformer, selecting toList in the Link To dialog box.
d. Save your changes.
6. Map the DueDate field:
a. In the Pipeline In column, expand ProcessEscalation and create a mapping line from the DueDate field to the expireDate field in EscalationTaskInputEnv in the Pipeline Out column.
b. Save your changes.
7. In the process editor, right-click the Escalation Task step and click Edit Output Data Mapping.
8. Click the Map step in the Escalation_Task_OutputMapService tab, and map the Status field:
a. In the Pipeline In column, expand TaskCompletionInfo and create a mapping line from the status field to the taskCompletionState field in the Pipeline Out column.
b. Save your changes.
Copyright © 2017 Software AG, Darmstadt, Germany.

Product LogoContact Support   |   Community   |   Feedback