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.
Before you begin
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.
About this task
To generate a Job-based Process:
Procedure
-
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.
-
Select what to send to the MDM
server:
-
Send a complete "exchange"
document (default): this document will have the Update Report in
addition to the item itself.
-
Only send an "item" document
(backward compatibility): the Process will be compatible with a
Job initially built in older MDM versions but have been upgraded.
-
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.
Note: 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 plugin.
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.
Note: Usually, a Process can
have only the step to call the Job, the
calljob plugin, if the complete XML record is not needed in the
task you want to accomplish. For further information, see
Creating a Process to enrich data on the fly.
From this editor, you can modify any of the Process parameters, if
required.