Skip to main content Skip to complementary content

Generating a workflow execution Process

Availability-noteDeprecated

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.
    Information noteNote: 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.

    Information noteNote: 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.

Did this page help you?

If you find any issues with this page or its content – a typo, a missing step, or a technical error – please let us know!