Defining the business entities on which to trigger a specific Process - 7.3

Talend Data Fabric Studio User Guide

Version
7.3
Language
English (United States)
EnrichDitaval
Data Fabric
Product
Talend Data Fabric
Module
Talend Studio
Content
Design and Development

About this task

To create a Trigger, you must first define the business entities in a selected data model on which you want to trigger a specific Process. You also need to define the execution mode. To do this:

Procedure

  1. In the MDM Repository tree view, expand Event Management and then right-click Triggers and select New from the contextual menu.
    The New Trigger dialog box displays.
  2. Enter a name for the new Trigger and then click OK to close the dialog box.
    An editor for the newly created Trigger opens in the workspace.
    Warning: No spaces are allowed in the Trigger name. The OK button in the dialog box will be unavailable as long as there is a space in the instance name.
  3. In the Description field, enter a description to identify the Trigger being created.
    In this example, the Trigger will launch a Process that will by turn launch the Job ValidatePriceChange_0.1.
  4. Click the three-dot button next to the Entity field to open a dialog box where you can select the business entity you want to trigger the Process on, Product in this example.
  5. In the open dialog box, click the Data Models arrow and select the data model that holds the business entity you want to run the Trigger on.
  6. Select the business entity in the list and click Add to close the dialog box.
    The selected business entity name displays in the Entity field.
  7. Select the check box next to the execution mode you want to use:

Results

Select

to...

Execute Synchronously

immediately executes the triggered Process. In most cases, this implies that an open connection from a source system will not be released until the data record has been pushed to the destination system and the connection is released by the destination system.

Execution Order: enter an integer value (equal to or greater than zero) in this field to specify the order in which this Trigger will be executed if it is among multiple Triggers which are eligible for a given event. The lower the value, the earlier the Trigger will be executed.

Bear in mind the following:

  • If no value is specified for one trigger, its execution order will be defaulted to zero.

  • If the same value is specified for two or more triggers eligible for a given event, the execution order of those triggers will be random.

Deactivate

To put the defined Trigger on hold.