Talend Studio enables you to automatically generate Processes based on the deployed Jobs listed under the Job Designs node in the MDM Repository tree view.
Once the job-based Process is generated, you can attach it to a Trigger which will initiate, when kicked off, the data integration process defined in the Job.
For more information on creating and managing Processes, see Processes.
Prerequisite(s): You have already connected to the MDM server from Talend Studio. At least one data integration Job is created in the Integration perspective and deployed on the MDM server.
To generate a Job-based Process:
In the MDM Repository tree view, expand the Job Designs node.
Right-click the Job on which you want to generate a Process and then select Generate Talend Job Caller Process.
A dialog box displays.
The option selected by default is to send a complete "exchange" document to the MDM server. This document will have the Update Report in addition to the item itself. However, if you want your Process to be compatible with older MDM versions (backward compatibility), you must select the Only send an "item" document option.
Click OK to validate your schema choice and close the dialog box.
The generated Process holding the name of the generated Job displays under Event Management - Process in the MDM Repository tree view.
If required, double-click the generated job-based Process to open an editor in the workspace that lists the Process parameters.
In the Parameters area, you can always switch between two views: Sheet and Source. The first enables you to add/modify parameters using fields and rows in a table, while the second display the parameters in its XML format where you can add/modify the parameters directly in the XML text.
The generated job-based process includes one basic step to call the Job and two additional steps as the following:
First step: to retrieve the complete XML record through the XSLT plug-in.
Second step: to decode XML in order to remove the escape function you used in the XSLT document and thus send a real XML document to the Job.
Final step: to send the XML document to a Talend Job.
Usually, a Process can have only the step to call the Job, the calljob plug-in, if the complete XML record is not needed in the task you want to accomplish. For further information, see How to create a Process to enrich data on the fly.
From this editor, you can modify any of the Process parameters, if required.