Generating a workflow execution Process - Cloud - 7.3

Talend Studio User Guide

Version
Cloud
7.3
Language
English
Product
Talend Big Data
Talend Big Data Platform
Talend Cloud
Talend Data Fabric
Talend Data Integration
Talend Data Management Platform
Talend Data Services Platform
Talend ESB
Talend MDM Platform
Talend Real-Time Big Data Platform
Module
Talend Studio
Content
Design and Development
Last publication date
2024-02-13
Available in...

Data Fabric

MDM Platform

Talend Studio enables you to automatically generate Processes based on the workflows listed under the Workflow node in the MDM Repository tree view.

Once this Process is generated, you can attach it to a Trigger. When the Trigger is kicked off, it launches the Process that will initiate the workflow itself. This will list any required intervention on data records in the Web User Interface in the form of workflow tasks.

Before you begin

You have already connected to the MDM server from Talend Studio. At least one workflow has been created and deployed on the MDM server.

About this task

To generate a Process based on a workflow:

Procedure

  1. In the MDM Repository tree view, expand the Workflow node.
  2. Right-click the workflow for which you want to generate a Process and select Generate Workflow Caller Process.
    A dialog box is displayed.
  3. From the Data Models list, select the data model to which you want to attach the workflow.
  4. Select a business entity from the list, Product in this example.
    The name of the selected business entity is displayed in the Xpath field.
  5. Click Add to close the dialog box.
    The generated Process is listed under the Process node in the MDM Repository tree view.
    Note: You must deploy your changes to the server for them to be taken into account at runtime.
  6. Double-click the generated Process to open an editor in the workspace that lists the Process parameters.

    One step is automatically defined and listed in the process Steps Sequence area. The step passes the item to the workflow engine using the workflowcontexttrigger plugin.

  7. Select the Invoke the workflow step to display the step detail and parameters.

    The Parameters area gives you access to two different views Source and Sheet. The Source view lists the detail of the automatically generated XML document with all the variables used in the workflow. This document is used to map the MDM attributes values and xpaths to the workflow variables.

    Note: Here, you can modify any of the parameters/variables according to your needs and according to what you have defined in the workflow.

    The Sheet view displays a tabular list of all the variables used in the workflow. You can use the and buttons below the table to modify these values.

What to do next

From this view, it is also possible to invoke any of the workflows deployed on your MDM server. To do this, do the following:

  1. Click the Select workflows... bar to display a list of all the workflows already deployed on your MDM server.
  2. Select the workflow you want to invoke and then click OK to close the dialog box.

    The name of the selected workflow displays in the ID field of the Parameters area.

  3. In the Variables area, use the and buttons below the table to modify the variable names and xpath values according to the workflow you selected.
  4. Save your modifications.

What you must do now is to define a trigger in order to call this process. When the Trigger is kicked off, it will launches the Process that will initiate the workflow itself. This will list any required intervention on data records in the Web User Interface in the form of workflow tasks.